diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-07-07 12:22:07 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:47:26 +0200 |
| commit | 8a3ecd66e7856ca5c36a21c93e447379e9bfa5ba (patch) | |
| tree | 5ae8761705cc9bbd975334f7fd714c346263f04c /.github | |
| parent | ce8751a2bdd6e76475338bd1f12179c2d7cedcb0 (diff) | |
Add frontend CI
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/frontend.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml new file mode 100644 index 00000000..494c0829 --- /dev/null +++ b/.github/workflows/frontend.yml @@ -0,0 +1,21 @@ +name: Frontend + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: npm install + working-directory: frontend + - run: npm run build --if-present + working-directory: frontend + - run: npm test + working-directory: frontend + env: + CI: true |
