Feature/207 facility cards #136
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
# Runs jest tests and builds tsc to look for typescript errors. | |
name: "[PULL REQUEST] Test and Compile code" | |
on: | |
pull_request: | |
branches: [main] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
Test-Compile-Frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install Packages | |
working-directory: ./client | |
run: npm install | |
- name: Run Linter | |
working-directory: ./client | |
run: npm run lint | |
- name: Run Tests | |
working-directory: ./client | |
run: npm run testall |