From 6e568a8bc5eb5b5af10ba8e07cbcd70960aeaa21 Mon Sep 17 00:00:00 2001 From: Nikola Matic Date: Wed, 25 Oct 2023 10:53:18 +0200 Subject: [PATCH] Bump node version for Truffle suite --- .circleci/config.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a5265445..b47d41d9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,6 +9,8 @@ workflows: - node-v16: run_coveralls: true - node-v18 + - node-v20: + run_coveralls: true - hardhat-core-default-solc - hardhat-core-latest-solc - hardhat-sample-project @@ -33,7 +35,7 @@ commands: - run: name: Update globally available npm to the latest version # Note: We need npm >= 8.3 which supports 'overrides' in package.json - command: npm install npm --global + command: sudo npm update npm --location=global install-dependencies: parameters: @@ -305,7 +307,7 @@ jobs: truffle-sample-project: docker: - - image: cimg/node:16.15 + - image: cimg/node:20.5 steps: - update-npm - show-npm-version @@ -395,3 +397,7 @@ jobs: <<: *node-base docker: - image: cimg/node:18.3 + node-v20: + <<: *node-base + docker: + - image: cimg/node:20.5