File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
# https://circleci.com/docs/2.0/configuration-reference/
2
2
version : 2.1
3
3
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
5
5
node :
circleci/[email protected] # used to publish new NPM version
6
6
7
7
jobs :
@@ -27,6 +27,8 @@ workflows:
27
27
name : frontend coverage
28
28
requires :
29
29
- cypress/install
30
+ # grab the workspace created by cypress/install job
31
+ attach-workspace : true
30
32
# we need to start the web application
31
33
start : npm start
32
34
# there are no jobs to follow this one
@@ -51,6 +53,9 @@ workflows:
51
53
requires :
52
54
- cypress/install
53
55
56
+ # grab the workspace created by cypress/install job
57
+ attach-workspace : true
58
+
54
59
start : npm run start:test:backend
55
60
command : npx cypress run --config-file cypress-backend.json
56
61
@@ -95,13 +100,10 @@ workflows:
95
100
working_directory : examples/before-each-visit
96
101
97
102
- cypress/run :
98
- parallel : true
103
+ attach-workspace : true
99
104
name : example-before-all-visit
100
105
requires :
101
106
- cypress/install
102
- # install dependencies in the root folder
103
- post-install :
104
- - run : npm ci
105
107
# there are no jobs to follow this one
106
108
# so no need to save the workspace files (saves time)
107
109
no-workspace : true
Original file line number Diff line number Diff line change 16
16
"start:test:backend" : " nyc --silent node test-backend" ,
17
17
"cy:backend" : " cypress open --config-file cypress-backend.json" ,
18
18
"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"
20
21
},
21
22
"peerDependencies" : {
22
23
"cypress" : " *" ,
You can’t perform that action at this time.
0 commit comments