Skip to content

Commit

Permalink
docs: examples/node-version (#487)
Browse files Browse the repository at this point in the history
This should address #468
  • Loading branch information
deiga authored Sep 26, 2024
1 parent ff2b054 commit b3455e4
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/examples/node-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ usage:
version: 2.1
orbs:
cypress: cypress-io/cypress@3
jobs:
run-cypress-in-specified-node-version:
executor:
name: cypress/default
node-version: "20.6"
steps:
- cypress/install:
package-manager: "npm"
- cypress/run-tests:
start-command: "npm run start:dev"
cypress-command: "npx cypress run"
workflows:
use-my-orb:
jobs:
- run-cypress-in-specified-node-version:
name: Run Cypress in Node 20
jobs:
run-cypress-in-specified-node-version:
executor:
name: cypress/default
node-version: "20.6"
steps:
- cypress/install:
package-manager: "npm"
- cypress/run-tests:
start-command: "npm run start:dev"
cypress-command: "npx cypress run"
workflows:
use-my-orb:
jobs:
- run-cypress-in-specified-node-version:
name: Run Cypress in Node 20

0 comments on commit b3455e4

Please sign in to comment.