Skip to content

Merge pull request #455 from bseenu/ROOT_PATH #565

Merge pull request #455 from bseenu/ROOT_PATH

Merge pull request #455 from bseenu/ROOT_PATH #565

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