Skip to content

Commit 6e568a8

Browse files
committed
Bump node version for Truffle suite
1 parent 4766ba4 commit 6e568a8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.circleci/config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ workflows:
99
- node-v16:
1010
run_coveralls: true
1111
- node-v18
12+
- node-v20:
13+
run_coveralls: true
1214
- hardhat-core-default-solc
1315
- hardhat-core-latest-solc
1416
- hardhat-sample-project
@@ -33,7 +35,7 @@ commands:
3335
- run:
3436
name: Update globally available npm to the latest version
3537
# Note: We need npm >= 8.3 which supports 'overrides' in package.json
36-
command: npm install npm --global
38+
command: sudo npm update npm --location=global
3739

3840
install-dependencies:
3941
parameters:
@@ -305,7 +307,7 @@ jobs:
305307
306308
truffle-sample-project:
307309
docker:
308-
- image: cimg/node:16.15
310+
- image: cimg/node:20.5
309311
steps:
310312
- update-npm
311313
- show-npm-version
@@ -395,3 +397,7 @@ jobs:
395397
<<: *node-base
396398
docker:
397399
- image: cimg/node:18.3
400+
node-v20:
401+
<<: *node-base
402+
docker:
403+
- image: cimg/node:20.5

0 commit comments

Comments
 (0)