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.18 '
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+ 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
2121
2222 release :
2323 executor :
2424 name : node/default
25- tag : ' 12 '
25+ tag : ' 16.18 '
2626 environment :
2727 # since we do not need Cypress to publish the NPM package
2828 # we can skip the binary download
3232
3333 steps :
3434 - 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
3838 # allow CircleCI to release beta versions
3939 # from pull request build jobs
4040 - run :
4747 CI_PULL_REQUEST :
4848
4949 ' basic test ' :
50- executor : cypress/base-12 -14-0
50+ executor : cypress/base-16 -14-2-slim
5151 steps :
5252 # all dependencies were installed in previous job
5353 - attach_workspace :
6060 DEBUG : netlify-plugin-cypress
6161
6262 ' recommended test ' :
63- executor : cypress/base-12 -14-0
63+ executor : cypress/base-16 -14-2-slim
6464 steps :
6565 # all dependencies were installed in previous job
6666 - attach_workspace :
7373 DEBUG : netlify-plugin-cypress
7474
7575 ' recording test ' :
76- executor : cypress/base-12 -14-0
76+ executor : cypress/base-16 -14-2-slim
7777 steps :
7878 # all dependencies were installed in previous job
7979 - attach_workspace :
8686 DEBUG : netlify-plugin-cypress
8787
8888 ' test-twice ' :
89- executor : cypress/base-12 -14-0
89+ executor : cypress/base-16 -14-2-slim
9090 steps :
9191 # all dependencies were installed in previous job
9292 - attach_workspace :
9999 DEBUG : netlify-plugin-cypress
100100
101101 ' test-prebuild-only ' :
102- executor : cypress/base-12 -14-0
102+ executor : cypress/base-16 -14-2-slim
103103 steps :
104104 # all dependencies were installed in previous job
105105 - attach_workspace :
@@ -112,7 +112,7 @@ jobs:
112112 DEBUG : netlify-plugin-cypress
113113
114114 ' test-postbuild-start ' :
115- executor : cypress/base-12 -14-0
115+ executor : cypress/base-16 -14-2-slim
116116 steps :
117117 # all dependencies were installed in previous job
118118 - attach_workspace :
@@ -125,7 +125,7 @@ jobs:
125125 DEBUG : netlify-plugin-cypress
126126
127127 ' test-using-chromium ' :
128- executor : cypress/base-12 -14-0
128+ executor : cypress/base-16 -14-2-slim
129129 steps :
130130 # all dependencies were installed in previous job
131131 - attach_workspace :
@@ -138,7 +138,7 @@ jobs:
138138 DEBUG : netlify-plugin-cypress
139139
140140 ' test-netlify-dev ' :
141- executor : cypress/base-12 -14-0
141+ executor : cypress/base-16 -14-2-slim
142142 steps :
143143 # all dependencies were installed in previous job
144144 - attach_workspace :
@@ -151,7 +151,7 @@ jobs:
151151 DEBUG : netlify-plugin-cypress
152152
153153 ' html-pages ' :
154- executor : cypress/base-12 -14-0
154+ executor : cypress/base-16 -14-2-slim
155155 steps :
156156 # all dependencies were installed in previous job
157157 - attach_workspace :
@@ -164,7 +164,7 @@ jobs:
164164 DEBUG : netlify-plugin-cypress
165165
166166 routing :
167- executor : cypress/base-12 -14-0
167+ executor : cypress/base-16 -14-2-slim
168168 steps :
169169 # all dependencies were installed in previous job
170170 - attach_workspace :
@@ -177,7 +177,7 @@ jobs:
177177 DEBUG : netlify-plugin-cypress
178178
179179 config-file :
180- executor : cypress/base-12 -14-0
180+ executor : cypress/base-16 -14-2-slim
181181 steps :
182182 # all dependencies were installed in previous job
183183 - attach_workspace :
0 commit comments