Skip to content

add wait for server to start #3

add wait for server to start

add wait for server to start #3

Workflow file for this run

name: API tests
on: push
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- 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"