Chronos V14.0.0 #71
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: 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 |