Skip to content

Commit 1aedb95

Browse files
committed
checking that the orb has the right stuff setup
1 parent 1bc68e5 commit 1aedb95

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.circleci/config.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
version: 2.1
22
orbs:
33
cypress: cypress-io/cypress@3
4-
5-
workflows:
6-
test:
7-
jobs:
4+
jobs:
5+
run-cypress-in-specified-node-version:
6+
executor:
7+
name: cypress/default
8+
node-version: "20.6"
9+
steps:
810
- list-files:
911
name: List files in the repository
1012
run: ls -l
11-
- cypress/run:
12-
name: Run Cypress in Node 20
13+
- cypress/install:
14+
package-manager: npm
15+
working-directory: ./test
16+
17+
- cypress/run-tests:
18+
working-directory: ./test
1319
cypress-command: npx wait-on@latest http://localhost:8089 && npx cypress run
1420
start-command: bash ./up_github.sh
15-
working-directory: test
21+
workflows:
22+
use-my-orb:
23+
jobs:
24+
- run-cypress-in-specified-node-version:
25+
name: Run Cypress in Node 20
1626
cypress-cache-key: >-
1727
cypress-cache-{{ arch }}-{{ checksum "libs/shared-ui/package.json"}}

0 commit comments

Comments
 (0)