1
1
version : 2.1
2
2
orbs :
3
- node : circleci/node@1.1.6
4
- cypress : cypress-io/cypress@1
3
+ node : circleci/node@5.0.3
4
+ cypress : cypress-io/cypress@2
5
5
jobs :
6
6
build :
7
7
executor :
8
8
name : node/default
9
- tag : ' 12 '
9
+ tag : ' 16.18 '
10
10
steps :
11
11
- checkout
12
- - node/with-cache :
13
- steps :
14
- - run : npm ci
15
- - run :
16
- name : show package contents 📦
17
- command : npm pack --dry
18
- - run :
19
- name : unit tests 🧪
20
- command : npm run test:unit
12
+ - node/install-packages :
13
+ cache-path : ~/project/node_modules
14
+ override-ci-command : npm install
15
+ - run :
16
+ name : show package contents 📦
17
+ command : npm pack --dry
18
+ - run :
19
+ name : unit tests 🧪
20
+ command : npm run test:unit
21
21
22
22
release :
23
23
executor :
24
24
name : node/default
25
- tag : ' 12 '
25
+ tag : ' 16.18 '
26
26
environment :
27
27
# since we do not need Cypress to publish the NPM package
28
28
# we can skip the binary download
32
32
33
33
steps :
34
34
- checkout
35
- - node/with-cache :
36
- steps :
37
- - run : npm ci
35
+ - node/install-packages :
36
+ cache-path : ~/project/node_modules
37
+ override-ci-command : npm install
38
38
# allow CircleCI to release beta versions
39
39
# from pull request build jobs
40
40
- run :
47
47
CI_PULL_REQUEST :
48
48
49
49
' basic test ' :
50
- executor : cypress/base-12 -14-0
50
+ executor : cypress/base-16 -14-2-slim
51
51
steps :
52
52
# all dependencies were installed in previous job
53
53
- attach_workspace :
60
60
DEBUG : netlify-plugin-cypress
61
61
62
62
' recommended test ' :
63
- executor : cypress/base-12 -14-0
63
+ executor : cypress/base-16 -14-2-slim
64
64
steps :
65
65
# all dependencies were installed in previous job
66
66
- attach_workspace :
73
73
DEBUG : netlify-plugin-cypress
74
74
75
75
' recording test ' :
76
- executor : cypress/base-12 -14-0
76
+ executor : cypress/base-16 -14-2-slim
77
77
steps :
78
78
# all dependencies were installed in previous job
79
79
- attach_workspace :
86
86
DEBUG : netlify-plugin-cypress
87
87
88
88
' test-twice ' :
89
- executor : cypress/base-12 -14-0
89
+ executor : cypress/base-16 -14-2-slim
90
90
steps :
91
91
# all dependencies were installed in previous job
92
92
- attach_workspace :
99
99
DEBUG : netlify-plugin-cypress
100
100
101
101
' test-prebuild-only ' :
102
- executor : cypress/base-12 -14-0
102
+ executor : cypress/base-16 -14-2-slim
103
103
steps :
104
104
# all dependencies were installed in previous job
105
105
- attach_workspace :
@@ -112,7 +112,7 @@ jobs:
112
112
DEBUG : netlify-plugin-cypress
113
113
114
114
' test-postbuild-start ' :
115
- executor : cypress/base-12 -14-0
115
+ executor : cypress/base-16 -14-2-slim
116
116
steps :
117
117
# all dependencies were installed in previous job
118
118
- attach_workspace :
@@ -125,7 +125,7 @@ jobs:
125
125
DEBUG : netlify-plugin-cypress
126
126
127
127
' test-using-chromium ' :
128
- executor : cypress/base-12 -14-0
128
+ executor : cypress/base-16 -14-2-slim
129
129
steps :
130
130
# all dependencies were installed in previous job
131
131
- attach_workspace :
@@ -138,7 +138,7 @@ jobs:
138
138
DEBUG : netlify-plugin-cypress
139
139
140
140
' test-netlify-dev ' :
141
- executor : cypress/base-12 -14-0
141
+ executor : cypress/base-16 -14-2-slim
142
142
steps :
143
143
# all dependencies were installed in previous job
144
144
- attach_workspace :
@@ -151,7 +151,7 @@ jobs:
151
151
DEBUG : netlify-plugin-cypress
152
152
153
153
' html-pages ' :
154
- executor : cypress/base-12 -14-0
154
+ executor : cypress/base-16 -14-2-slim
155
155
steps :
156
156
# all dependencies were installed in previous job
157
157
- attach_workspace :
@@ -164,7 +164,7 @@ jobs:
164
164
DEBUG : netlify-plugin-cypress
165
165
166
166
routing :
167
- executor : cypress/base-12 -14-0
167
+ executor : cypress/base-16 -14-2-slim
168
168
steps :
169
169
# all dependencies were installed in previous job
170
170
- attach_workspace :
@@ -177,7 +177,7 @@ jobs:
177
177
DEBUG : netlify-plugin-cypress
178
178
179
179
config-file :
180
- executor : cypress/base-12 -14-0
180
+ executor : cypress/base-16 -14-2-slim
181
181
steps :
182
182
# all dependencies were installed in previous job
183
183
- attach_workspace :
0 commit comments