diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-03 19:51:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 19:51:37 +0100 |
| commit | f3f8d1d494a08a032940c6587c7865cd0ac0dd7a (patch) | |
| tree | f929c999e0919af1325c86d7147b6b948b2bdf24 /.github/workflows/build-frontend.yml | |
| parent | fe717acf3136400a8048b5e2aabbc99414c790c1 (diff) | |
| parent | e706cb9ef3e0c8b55746c24808ae90034bfacdd0 (diff) | |
Merge pull request #61 from atlarge-research/ci/limit
Improve CI pipelines
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..73ab49d5 --- /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: [14.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 |
