Add reload to test data loading to ensure project is displayed #73
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: CI | |
on: [push] | |
jobs: | |
test: | |
name: Cypress Test | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [15.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Node install | |
run: npm install --legacy-peer-deps | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
working-directory: frontend | |
install: false | |
build: npm run build | |
start: npm start | |
wait-on: "http://localhost:3000" | |
wait-on-timeout: 120 |