Skip to content

Commit d96dd1c

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

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.circleci/config.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
version: 2.1
22
orbs:
33
cypress: cypress-io/cypress@3
4+
jobs:
5+
run-cypress-in-specified-node-version:
6+
executor:
7+
name: cypress/default
8+
node-version: "20.6"
9+
steps:
10+
- checkout
11+
- run: ls -l
12+
- cypress/install:
13+
package-manager: npm
14+
working-directory: ./test
415

16+
- cypress/run-tests:
17+
working-directory: ./test
18+
cypress-command: npx wait-on@latest http://localhost:8089 && npx cypress run
19+
start-command: bash ./up_github.sh
520
workflows:
6-
test:
21+
use-my-orb:
722
jobs:
8-
- list-files:
9-
name: List files in the repository
10-
run: ls -l
11-
- cypress/run:
23+
- run-cypress-in-specified-node-version:
1224
name: Run Cypress in Node 20
13-
cypress-command: npx wait-on@latest http://localhost:8089 && npx cypress run
14-
start-command: bash ./up_github.sh
15-
working-directory: test
16-
cypress-cache-key: >-
17-
cypress-cache-{{ arch }}-{{ checksum "libs/shared-ui/package.json"}}

0 commit comments

Comments
 (0)