Fix router #409
Workflow file for this run
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: Jest-React Test | |
on: | |
push: | |
branches-ignore: [master, main] | |
# Remove the line above to run when pushing to master | |
pull_request: | |
branches: [master, main] | |
jobs: | |
build: | |
name: Jest-React Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install modules | |
run: | | |
cd frontend | |
npm install | |
- name: Run test | |
run: | | |
cd frontend | |
npm run test |