Merge pull request #456 from bseenu/batch/v1beta1 #566
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-test | |
on: [push, pull_request] | |
jobs: | |
build-client: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: "./client" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node 16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- run: npm ci | |
working-directory: ${{env.working-directory}} | |
- run: npm run build | |
working-directory: ${{env.working-directory}} | |
- run: npm run lint:ci | |
working-directory: ${{env.working-directory}} | |
# - run: npm test | |
# working-directory: ${{env.working-directory}} | |
# @TODO: Commented out server section, as existing server doesn't support linting. leaving as a placeholder for later | |
# build-server: | |
# runs-on: ubuntu-latest | |
# env: | |
# working-directory: "./server" | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Setup node 16 | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: 16.x | |
# - run: npm ci | |
# working-directory: ${{env.working-directory}} | |
# - run: npm run build | |
# working-directory: ${{env.working-directory}} | |
# - run: npm run lint:ci | |
# working-directory: ${{env.working-directory}} | |
# - run: npm test | |
# working-directory: ${{env.working-directory}} |