Skip to content

Commit

Permalink
add wait for server to start
Browse files Browse the repository at this point in the history
  • Loading branch information
Demian Godon authored and Demian Godon committed Mar 14, 2024
1 parent ecebf8c commit 8957f1e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: End-to-end tests
name: API tests
on: push
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npm start
# quote the url to be safe against YML parsing surprises
wait-on: "http://localhost:3001"

0 comments on commit 8957f1e

Please sign in to comment.