11version : 2.1
22orbs :
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
55jobs :
66 build :
77 executor :
88 name : node/default
9- tag : ' 12 '
9+ tag : ' 16 '
1010 steps :
1111 - 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
2119
2220 release :
2321 executor :
2422 name : node/default
25- tag : ' 12 '
23+ tag : ' 16 '
2624 environment :
2725 # since we do not need Cypress to publish the NPM package
2826 # we can skip the binary download
3230
3331 steps :
3432 - checkout
35- - node/with-cache :
36- steps :
37- - run : npm ci
33+ - node/install-packages
3834 # allow CircleCI to release beta versions
3935 # from pull request build jobs
4036 - run :
4743 CI_PULL_REQUEST :
4844
4945 ' basic test ' :
50- executor : cypress/base-12 -14-0
46+ executor : cypress/base-16 -14-2-slim
5147 steps :
5248 # all dependencies were installed in previous job
5349 - attach_workspace :
6056 DEBUG : netlify-plugin-cypress
6157
6258 ' recommended test ' :
63- executor : cypress/base-12 -14-0
59+ executor : cypress/base-16 -14-2-slim
6460 steps :
6561 # all dependencies were installed in previous job
6662 - attach_workspace :
7369 DEBUG : netlify-plugin-cypress
7470
7571 ' recording test ' :
76- executor : cypress/base-12 -14-0
72+ executor : cypress/base-16 -14-2-slim
7773 steps :
7874 # all dependencies were installed in previous job
7975 - attach_workspace :
8682 DEBUG : netlify-plugin-cypress
8783
8884 ' test-twice ' :
89- executor : cypress/base-12 -14-0
85+ executor : cypress/base-16 -14-2-slim
9086 steps :
9187 # all dependencies were installed in previous job
9288 - attach_workspace :
9995 DEBUG : netlify-plugin-cypress
10096
10197 ' test-prebuild-only ' :
102- executor : cypress/base-12 -14-0
98+ executor : cypress/base-16 -14-2-slim
10399 steps :
104100 # all dependencies were installed in previous job
105101 - attach_workspace :
@@ -112,7 +108,7 @@ jobs:
112108 DEBUG : netlify-plugin-cypress
113109
114110 ' test-postbuild-start ' :
115- executor : cypress/base-12 -14-0
111+ executor : cypress/base-16 -14-2-slim
116112 steps :
117113 # all dependencies were installed in previous job
118114 - attach_workspace :
@@ -125,7 +121,7 @@ jobs:
125121 DEBUG : netlify-plugin-cypress
126122
127123 ' test-using-chromium ' :
128- executor : cypress/base-12 -14-0
124+ executor : cypress/base-16 -14-2-slim
129125 steps :
130126 # all dependencies were installed in previous job
131127 - attach_workspace :
@@ -138,7 +134,7 @@ jobs:
138134 DEBUG : netlify-plugin-cypress
139135
140136 ' test-netlify-dev ' :
141- executor : cypress/base-12 -14-0
137+ executor : cypress/base-16 -14-2-slim
142138 steps :
143139 # all dependencies were installed in previous job
144140 - attach_workspace :
@@ -151,7 +147,7 @@ jobs:
151147 DEBUG : netlify-plugin-cypress
152148
153149 ' html-pages ' :
154- executor : cypress/base-12 -14-0
150+ executor : cypress/base-16 -14-2-slim
155151 steps :
156152 # all dependencies were installed in previous job
157153 - attach_workspace :
@@ -164,7 +160,7 @@ jobs:
164160 DEBUG : netlify-plugin-cypress
165161
166162 routing :
167- executor : cypress/base-12 -14-0
163+ executor : cypress/base-16 -14-2-slim
168164 steps :
169165 # all dependencies were installed in previous job
170166 - attach_workspace :
@@ -177,7 +173,7 @@ jobs:
177173 DEBUG : netlify-plugin-cypress
178174
179175 config-file :
180- executor : cypress/base-12 -14-0
176+ executor : cypress/base-16 -14-2-slim
181177 steps :
182178 # all dependencies were installed in previous job
183179 - attach_workspace :
0 commit comments