Skip to content

Merge pull request #456 from bseenu/batch/v1beta1 #566

Merge pull request #456 from bseenu/batch/v1beta1

Merge pull request #456 from bseenu/batch/v1beta1 #566

Workflow file for this run

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}}