Skip to content

Commit 183d90a

Browse files
authored
chore(ci): Removed nodejs 12 from CI jobs (mozilla#4243)
* chore(ci): Removed nodejs 12 from CI jobs * chore(ci): Workaround 'digital envelope routines::unsupported' error triggered by webpack on nodejs 17
1 parent 5327446 commit 183d90a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,25 @@ references:
1111
working_directory: ~/addons-linter
1212
docker:
1313
# This is the NodeJS version we run in production.
14-
- image: cimg/node:12.22
14+
- image: cimg/node:14.19
1515

1616
defaults-next: &defaults-next
1717
<<: *defaults
1818
docker:
1919
# This is the next NodeJS version we will support.
20-
- image: cimg/node:14.19
20+
- image: cimg/node:16.14
2121

2222
defaults-alternate: &defaults-alternate
2323
<<: *defaults
2424
docker:
2525
# This is an alternate Node version we support or want to support in the
2626
# (far) future. It can either be lower or higher than the current Node
2727
# version we run in production.
28-
- image: cimg/node:16.14
28+
- image: cimg/node:17.7
29+
environment:
30+
## workaround `npm run build` issue triggered by webpack
31+
## on nodejs 17.
32+
NODE_OPTIONS: --openssl-legacy-provider
2933

3034
restore_build_cache: &restore_build_cache
3135
restore_cache:

0 commit comments

Comments
 (0)