Try different start command for cypress in CI.

This commit is contained in:
Dillon Kearns 2023-05-25 08:48:35 -07:00
parent 1c1176c0a7
commit 3d6d6a1a75
2 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ jobs:
- name: Cypress tests
uses: cypress-io/github-action@v5
with:
start: npm start
start: (cd examples/end-to-end && node ../../generator/src/cli.js dev --debug)
wait-on: "http://localhost:1234"
wait-on-timeout: 120

View File

@ -16,7 +16,7 @@
},
"../..": {
"name": "elm-pages",
"version": "3.0.0-beta.40",
"version": "3.0.0-beta.41",
"dev": true,
"license": "BSD-3-Clause",
"dependencies": {
@ -53,7 +53,7 @@
"@types/micromatch": "^4.0.2",
"@types/node": "^20.1.0",
"@types/serve-static": "^1.15.1",
"cypress": "^12.11.0",
"cypress": "^12.13.0",
"elm-codegen": "^0.3.0",
"elm-optimize-level-2": "^0.3.5",
"elm-review": "^2.10.2",
@ -367,7 +367,7 @@
"connect": "^3.7.0",
"cookie-signature": "^1.2.1",
"cross-spawn": "7.0.3",
"cypress": "^12.11.0",
"cypress": "^12.13.0",
"devcert": "^1.2.2",
"elm-codegen": "^0.3.0",
"elm-doc-preview": "^5.0.5",