Skip to content

Commit f8548e1

Browse files
committed
revert usage of node12
1 parent e73b99f commit f8548e1

File tree

1 file changed

+15
-33
lines changed

1 file changed

+15
-33
lines changed

.circleci/config.yml

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ orbs:
1010
# https://hub.docker.com/r/cimg/node/tags/
1111

1212
jobs:
13-
install-and-cibuild: # cibuild using node 12 & npm 6
13+
install-and-cibuild:
1414
docker:
15-
- image: cimg/node:12.22.7
15+
- image: cimg/node:16.8.0
1616
working_directory: ~/plotly.js
1717
steps:
1818
- checkout
@@ -33,26 +33,10 @@ jobs:
3333
paths:
3434
- plotly.js
3535

36-
install-and-cibuild-node16: # main cibuild using node 16 & npm 7
37-
docker:
38-
- image: cimg/node:16.8.0
39-
working_directory: ~/plotly.js
40-
steps:
41-
- checkout
42-
- run:
43-
name: Set up build environment
44-
command: .circleci/env_build.sh
45-
- run:
46-
name: Pretest
47-
command: npm run pretest
48-
- run:
49-
name: CI-Build
50-
command: npm run cibuild
51-
5236
timezone-jasmine:
5337
docker:
5438
# need '-browsers' version to test in real (xvfb-wrapped) browsers
55-
- image: cimg/node:12.22.7-browsers
39+
- image: cimg/node:16.8.0-browsers
5640
working_directory: ~/plotly.js
5741
steps:
5842
- browser-tools/install-browser-tools: &browser-versions
@@ -85,7 +69,7 @@ jobs:
8569
no-gl-jasmine:
8670
docker:
8771
# need '-browsers' version to test in real (xvfb-wrapped) browsers
88-
- image: cimg/node:12.22.7-browsers
72+
- image: cimg/node:16.8.0-browsers
8973
environment:
9074
# Alaska time (arbitrary timezone to test date logic)
9175
TZ: "America/Anchorage"
@@ -105,7 +89,7 @@ jobs:
10589
webgl-jasmine:
10690
docker:
10791
# need '-browsers' version to test in real (xvfb-wrapped) browsers
108-
- image: cimg/node:12.22.7-browsers
92+
- image: cimg/node:16.8.0-browsers
10993
environment:
11094
# Alaska time (arbitrary timezone to test date logic)
11195
TZ: "America/Anchorage"
@@ -125,7 +109,7 @@ jobs:
125109
flaky-no-gl-jasmine:
126110
docker:
127111
# need '-browsers' version to test in real (xvfb-wrapped) browsers
128-
- image: cimg/node:12.22.7-browsers
112+
- image: cimg/node:16.8.0-browsers
129113
environment:
130114
# Alaska time (arbitrary timezone to test date logic)
131115
TZ: "America/Anchorage"
@@ -144,7 +128,7 @@ jobs:
144128
bundle-jasmine:
145129
docker:
146130
# need '-browsers' version to test in real (xvfb-wrapped) browsers
147-
- image: cimg/node:12.22.7-browsers
131+
- image: cimg/node:16.8.0-browsers
148132
environment:
149133
# Alaska time (arbitrary timezone to test date logic)
150134
TZ: "America/Anchorage"
@@ -163,7 +147,7 @@ jobs:
163147
mathjax-firefox81:
164148
docker:
165149
# need '-browsers' version to test in real (xvfb-wrapped) browsers
166-
- image: cimg/node:12.22.7-browsers
150+
- image: cimg/node:16.8.0-browsers
167151
environment:
168152
# Alaska time (arbitrary timezone to test date logic)
169153
TZ: "America/Anchorage"
@@ -182,7 +166,7 @@ jobs:
182166
mathjax-firefox82:
183167
docker:
184168
# need '-browsers' version to test in real (xvfb-wrapped) browsers
185-
- image: cimg/node:12.22.7-browsers
169+
- image: cimg/node:16.8.0-browsers
186170
environment:
187171
# Alaska time (arbitrary timezone to test date logic)
188172
TZ: "America/Anchorage"
@@ -201,7 +185,7 @@ jobs:
201185
mathjax-firefoxLatest:
202186
docker:
203187
# need '-browsers' version to test in real (xvfb-wrapped) browsers
204-
- image: cimg/node:12.22.7-browsers
188+
- image: cimg/node:16.8.0-browsers
205189
environment:
206190
# Alaska time (arbitrary timezone to test date logic)
207191
TZ: "America/Anchorage"
@@ -237,7 +221,7 @@ jobs:
237221

238222
test-baselines:
239223
docker:
240-
- image: circleci/node:12.22.7
224+
- image: circleci/node:16.8.0
241225
working_directory: ~/plotly.js
242226
steps:
243227
- attach_workspace:
@@ -272,7 +256,7 @@ jobs:
272256

273257
test-exports:
274258
docker:
275-
- image: circleci/node:12.22.7
259+
- image: circleci/node:16.8.0
276260
working_directory: ~/plotly.js
277261
steps:
278262
- attach_workspace:
@@ -286,7 +270,7 @@ jobs:
286270

287271
mock-validation:
288272
docker:
289-
- image: cimg/node:12.22.7
273+
- image: cimg/node:16.8.0
290274
working_directory: ~/plotly.js
291275
steps:
292276
- attach_workspace:
@@ -300,7 +284,7 @@ jobs:
300284

301285
source-syntax:
302286
docker:
303-
- image: cimg/node:12.22.7
287+
- image: cimg/node:16.8.0
304288
working_directory: ~/plotly.js
305289
steps:
306290
- attach_workspace:
@@ -311,7 +295,7 @@ jobs:
311295

312296
publish-dist:
313297
docker:
314-
- image: cimg/node:12.22.7
298+
- image: cimg/node:16.8.0
315299
working_directory: ~/plotly.js
316300
steps:
317301
- checkout
@@ -386,8 +370,6 @@ workflows:
386370
version: 2
387371
build-and-test:
388372
jobs:
389-
- install-and-cibuild-node16
390-
391373
- install-and-cibuild
392374
- timezone-jasmine:
393375
requires:

0 commit comments

Comments
 (0)