Merge pull request #71 from dan-atack/58-improve-sidebar-building-opt… #604
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: Basic CI | |
on: push | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
Backend-Unit-Tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: './backend' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- run: echo "starting npm ci" | |
- run: npm ci | |
- run: echo "starting tests" | |
- run: npm run test | |
Frontend-Unit-Tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: './frontend' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- run: echo "staring npm ci" | |
- run: npm ci | |
- run: echo "starting frontend unit tests" | |
- run: npm run test |