Skip to content

Commit 0f7bca0

Browse files
committed
use fixed orb
1 parent d09988b commit 0f7bca0

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.circleci/config.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://circleci.com/docs/2.0/configuration-reference/
22
version: 2.1
33
orbs:
4-
cypress: cypress-io/[email protected].0 # used to run e2e tests
4+
cypress: cypress-io/[email protected].1 # used to run e2e tests
55
node: circleci/[email protected] # used to publish new NPM version
66

77
jobs:
@@ -27,6 +27,8 @@ workflows:
2727
name: frontend coverage
2828
requires:
2929
- cypress/install
30+
# grab the workspace created by cypress/install job
31+
attach-workspace: true
3032
# we need to start the web application
3133
start: npm start
3234
# there are no jobs to follow this one
@@ -51,6 +53,9 @@ workflows:
5153
requires:
5254
- cypress/install
5355

56+
# grab the workspace created by cypress/install job
57+
attach-workspace: true
58+
5459
start: npm run start:test:backend
5560
command: npx cypress run --config-file cypress-backend.json
5661

@@ -95,13 +100,10 @@ workflows:
95100
working_directory: examples/before-each-visit
96101

97102
- cypress/run:
98-
parallel: true
103+
attach-workspace: true
99104
name: example-before-all-visit
100105
requires:
101106
- cypress/install
102-
# install dependencies in the root folder
103-
post-install:
104-
- run: npm ci
105107
# there are no jobs to follow this one
106108
# so no need to save the workspace files (saves time)
107109
no-workspace: true

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"start:test:backend": "nyc --silent node test-backend",
1717
"cy:backend": "cypress open --config-file cypress-backend.json",
1818
"dev:backend": "start-test start:test:backend 3003 cy:backend",
19-
"check:markdown": "find *.md -exec npx markdown-link-check {} \\;"
19+
"check:markdown": "find *.md -exec npx markdown-link-check {} \\;",
20+
"effective:config": "circleci config process .circleci/config.yml | sed /^#/d"
2021
},
2122
"peerDependencies": {
2223
"cypress": "*",

0 commit comments

Comments
 (0)