diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-29 14:04:28 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-03 19:35:16 +0100 |
| commit | e4a1c21749d42fcdf4c6ce89899d62a2501331ff (patch) | |
| tree | 0902644e580cdd522ec69bfa8df8bc32331ccaa5 /.github/workflows/build-frontend.yml | |
| parent | cb50c427098cd73b0d4de930d35c5976f2ae919f (diff) | |
Run all CI build pipelines on pull request
Diffstat (limited to '.github/workflows/build-frontend.yml')
| -rw-r--r-- | .github/workflows/build-frontend.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/build-frontend.yml b/.github/workflows/build-frontend.yml new file mode 100644 index 00000000..67f356b9 --- /dev/null +++ b/.github/workflows/build-frontend.yml @@ -0,0 +1,31 @@ +name: Build Frontend + +on: + push: + paths: + - 'frontend/**' + pull_request: + branches: [master] + +defaults: + run: + working-directory: frontend + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + node: [12.x] + steps: + - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - run: npm install + - run: npm run build --if-present + - run: npm test + env: + CI: true |
