Skip to content

Commit c369a0d

Browse files
authored
Merge pull request #315 from cypress-io/update-circleci-config
2 parents 2adfce8 + c150303 commit c369a0d

File tree

2 files changed

+55988
-1050
lines changed

2 files changed

+55988
-1050
lines changed

circle.yml renamed to .circleci/config.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
version: 2.1
22
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
55
jobs:
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
@@ -32,9 +32,9 @@ jobs:
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:
@@ -47,7 +47,7 @@ jobs:
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:
@@ -60,7 +60,7 @@ jobs:
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:
@@ -73,7 +73,7 @@ jobs:
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:
@@ -86,7 +86,7 @@ jobs:
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:
@@ -99,7 +99,7 @@ jobs:
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

Comments
 (0)