Skip to content

Commit

Permalink
feat: wait for test server to start
Browse files Browse the repository at this point in the history
  • Loading branch information
glenngillen committed Jun 6, 2024
1 parent bf3d5f1 commit f88fa7b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/screenshots-in-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ jobs:
run: npm install

- name: Start the server
run: npm run build && npm run start &
run: |
npm run build
npm run start
npx wait-on http://localhost:3001
env:
NODE_ENV: development
NODE_ENV: test

- name: Run Cypress tests
run: npx cypress run --e2e
Expand Down

0 comments on commit f88fa7b

Please sign in to comment.