Skip to content

Commit dcb5582

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

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.circleci/config.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
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+
docker_layer_caching: true
13+
- run: ls -l $(ls)
14+
- run: bash ./build_github.sh
15+
- cypress/install:
16+
package-manager: npm
17+
working-directory: test
18+
- cypress/run-tests:
19+
cypress-command: npx wait-on@latest http://localhost:8089 && cd test && npx cypress run
20+
working-directory: test
521
workflows:
6-
test:
22+
use-my-orb:
723
jobs:
8-
- list-files:
9-
name: List files in the repository
10-
run: ls -l
11-
- cypress/run:
24+
- run-cypress-in-specified-node-version:
1225
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)