Skip to content

Commit cfbd44e

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

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

.circleci/config.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
version: 2.1
22
orbs:
33
cypress: cypress-io/cypress@3
4-
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+
- setup_remote_docker:
12+
version: 20.10.14
13+
docker_layer_caching: true
14+
- run: ls -l
15+
- run: bash ./build_github.sh
16+
- cypress/install:
17+
package-manager: npm
18+
working-directory: test
19+
- cypress/run-tests:
20+
cypress-command: npx wait-on@latest http://localhost:8089 && cd test && npx cypress run
21+
working-directory: test
522
workflows:
6-
test:
23+
use-my-orb:
724
jobs:
8-
- list-files:
9-
name: List files in the repository
10-
run: ls -l
11-
- cypress/run:
25+
- run-cypress-in-specified-node-version:
1226
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)