-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
version: 2.1 | ||
orbs: | ||
cypress: cypress-io/cypress@3 | ||
# "cypress-io/cypress@3" installs the latest published | ||
# version "s.x.y" of the orb. We recommend you then use | ||
# the strict explicit version "cypress-io/[email protected]" | ||
# to lock the version and prevent unexpected CI changes | ||
cypress: cypress-io/[email protected] | ||
|
||
jobs: | ||
cypress-run: | ||
executor: | ||
name: cypress/default | ||
node-version: "20.6.0" | ||
steps: | ||
- cypress/install | ||
- cypress/run-tests: | ||
cypress-command: "npx wait-on@latest http://localhost:3000 && npx cypress run" | ||
start-command: "npm run build && npm run start" | ||
|
||
workflows: | ||
build: | ||
jobs: | ||
- "cypress/run": | ||
start-command: "npm run start" | ||
- cypress-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