Skip to content

Chronos V14.0.0

Chronos V14.0.0 #71

Workflow file for this run

name: Frontend and Backend testing
on:
pull_request:
branches: [master]
##Branch name may need to be changed depending on name of your dev branch
jobs:
frontend_testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npm run test
backend_testing:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npx jest --config __backend-tests__/jest.config.js --verbose