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 '
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
+ - run :
14
+ name : show package contents 📦
15
+ command : npm pack --dry
16
+ - run :
17
+ name : unit tests 🧪
18
+ command : npm run test:unit
21
19
22
20
release :
23
21
executor :
24
22
name : node/default
25
- tag : ' 12 '
23
+ tag : ' 16 '
26
24
environment :
27
25
# since we do not need Cypress to publish the NPM package
28
26
# we can skip the binary download
32
30
33
31
steps :
34
32
- checkout
35
- - node/with-cache :
36
- steps :
37
- - run : npm ci
33
+ - node/install-packages
38
34
# allow CircleCI to release beta versions
39
35
# from pull request build jobs
40
36
- run :
47
43
CI_PULL_REQUEST :
48
44
49
45
' basic test ' :
50
- executor : cypress/base-12 -14-0
46
+ executor : cypress/base-16 -14-2-slim
51
47
steps :
52
48
# all dependencies were installed in previous job
53
49
- attach_workspace :
60
56
DEBUG : netlify-plugin-cypress
61
57
62
58
' recommended test ' :
63
- executor : cypress/base-12 -14-0
59
+ executor : cypress/base-16 -14-2-slim
64
60
steps :
65
61
# all dependencies were installed in previous job
66
62
- attach_workspace :
73
69
DEBUG : netlify-plugin-cypress
74
70
75
71
' recording test ' :
76
- executor : cypress/base-12 -14-0
72
+ executor : cypress/base-16 -14-2-slim
77
73
steps :
78
74
# all dependencies were installed in previous job
79
75
- attach_workspace :
86
82
DEBUG : netlify-plugin-cypress
87
83
88
84
' test-twice ' :
89
- executor : cypress/base-12 -14-0
85
+ executor : cypress/base-16 -14-2-slim
90
86
steps :
91
87
# all dependencies were installed in previous job
92
88
- attach_workspace :
99
95
DEBUG : netlify-plugin-cypress
100
96
101
97
' test-prebuild-only ' :
102
- executor : cypress/base-12 -14-0
98
+ executor : cypress/base-16 -14-2-slim
103
99
steps :
104
100
# all dependencies were installed in previous job
105
101
- attach_workspace :
@@ -112,7 +108,7 @@ jobs:
112
108
DEBUG : netlify-plugin-cypress
113
109
114
110
' test-postbuild-start ' :
115
- executor : cypress/base-12 -14-0
111
+ executor : cypress/base-16 -14-2-slim
116
112
steps :
117
113
# all dependencies were installed in previous job
118
114
- attach_workspace :
@@ -125,7 +121,7 @@ jobs:
125
121
DEBUG : netlify-plugin-cypress
126
122
127
123
' test-using-chromium ' :
128
- executor : cypress/base-12 -14-0
124
+ executor : cypress/base-16 -14-2-slim
129
125
steps :
130
126
# all dependencies were installed in previous job
131
127
- attach_workspace :
@@ -138,7 +134,7 @@ jobs:
138
134
DEBUG : netlify-plugin-cypress
139
135
140
136
' test-netlify-dev ' :
141
- executor : cypress/base-12 -14-0
137
+ executor : cypress/base-16 -14-2-slim
142
138
steps :
143
139
# all dependencies were installed in previous job
144
140
- attach_workspace :
@@ -151,7 +147,7 @@ jobs:
151
147
DEBUG : netlify-plugin-cypress
152
148
153
149
' html-pages ' :
154
- executor : cypress/base-12 -14-0
150
+ executor : cypress/base-16 -14-2-slim
155
151
steps :
156
152
# all dependencies were installed in previous job
157
153
- attach_workspace :
@@ -164,7 +160,7 @@ jobs:
164
160
DEBUG : netlify-plugin-cypress
165
161
166
162
routing :
167
- executor : cypress/base-12 -14-0
163
+ executor : cypress/base-16 -14-2-slim
168
164
steps :
169
165
# all dependencies were installed in previous job
170
166
- attach_workspace :
@@ -177,7 +173,7 @@ jobs:
177
173
DEBUG : netlify-plugin-cypress
178
174
179
175
config-file :
180
- executor : cypress/base-12 -14-0
176
+ executor : cypress/base-16 -14-2-slim
181
177
steps :
182
178
# all dependencies were installed in previous job
183
179
- attach_workspace :
0 commit comments