Skip to content

Commit a6869de

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

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.circleci/config.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
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+
- run: ls -l
11+
- cypress/install:
12+
package-manager: npm
13+
working-directory: ./test
414

15+
- cypress/run-tests:
16+
working-directory: ./test
17+
cypress-command: npx wait-on@latest http://localhost:8089 && npx cypress run
18+
start-command: bash ./up_github.sh
519
workflows:
6-
test:
20+
use-my-orb:
721
jobs:
8-
- list-files:
9-
name: List files in the repository
10-
run: ls -l
11-
- cypress/run:
22+
- run-cypress-in-specified-node-version:
1223
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)