Skip to content

Commit e31b1b0

Browse files
authored
fix: update nodejs version (#4764)
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
1 parent 30ab4dd commit e31b1b0

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ orbs:
55
jobs:
66
checkout_and_install:
77
docker:
8-
- image: cimg/node:16.17.0
8+
- image: cimg/node:lts
99
working_directory: ~/protocol
1010
steps:
1111
- checkout
@@ -28,7 +28,7 @@ jobs:
2828
- ~/.ssh
2929
build:
3030
docker:
31-
- image: cimg/node:16.17.0
31+
- image: cimg/node:lts
3232
working_directory: ~/protocol
3333
resource_class: large
3434
steps:
@@ -50,7 +50,7 @@ jobs:
5050
- ~/.ssh
5151
lint:
5252
docker:
53-
- image: cimg/node:16.17.0
53+
- image: cimg/node:lts
5454
working_directory: ~/protocol
5555
steps:
5656
- restore_cache:
@@ -73,7 +73,7 @@ jobs:
7373
configuration_path: /home/circleci/protocol/.circleci/lerna_config.yml
7474
coverage:
7575
docker:
76-
- image: cimg/node:16.17.0
76+
- image: cimg/node:lts
7777
working_directory: ~/protocol
7878
steps:
7979
- checkout
@@ -86,7 +86,7 @@ jobs:
8686
path: packages/core/coverage
8787
publish:
8888
docker:
89-
- image: cimg/node:16.17.0
89+
- image: cimg/node:lts
9090
working_directory: ~/protocol
9191
steps:
9292
- add_ssh_keys:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# that are not in the protocol repo, such as the Across v2 relayer. To access these set a command
55

66
# Fix node version due to high potential for incompatibilities.
7-
FROM node:16
7+
FROM node:20
88

99
# All source code and execution happens from the protocol directory.
1010
WORKDIR /protocol

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For detailed information on how to initialize and interact with our smart contra
3939

4040
### Install dependencies 👷‍♂️
4141

42-
You'll need to install the long-term support version of nodejs, currently nodejs v14. You will also need to install yarn. Assuming that's done, run `yarn` with no args:
42+
You'll need to install the long-term support version of nodejs, currently nodejs v20. You will also need to install yarn. Assuming that's done, run `yarn` with no args:
4343

4444
```
4545
yarn

ci/tests/test-financial-templates-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cat << EOF
44
test-financial-templates-lib-hardhat:
55
docker:
6-
- image: cimg/node:16.17.0
6+
- image: cimg/node:lts
77
- image: trufflesuite/ganache-cli
88
command: ganache-cli -i 1234 -l 9000000 -p 9545
99
working_directory: ~/protocol

ci/tests/test-liquidator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cat << EOF
44
test-liquidator-package:
55
docker:
6-
- image: cimg/node:16.17.0
6+
- image: cimg/node:lts
77
- image: trufflesuite/ganache-cli
88
command: ganache-cli -i 1234 -l 9000000 -p 9545
99
working_directory: ~/protocol

ci/tests/test-not-required.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2.1
55
jobs:
66
tests-required:
77
docker:
8-
- image: cimg/node:16.17.0
8+
- image: cimg/node:lts
99
steps:
1010
- run:
1111
name: Test dependencies

ci/tests/test-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PACKAGE=$1
55
cat << EOF
66
test-${PACKAGE:5}:
77
docker:
8-
- image: cimg/node:16.17.0
8+
- image: cimg/node:lts
99
- image: trufflesuite/ganache-cli
1010
command: ganache-cli -i 1234 -l 9000000 -p 9545
1111
working_directory: ~/protocol

ci/tests/test-required.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cat << EOF
44
tests-required:
55
docker:
6-
- image: cimg/node:16.17.0
6+
- image: cimg/node:lts
77
steps:
88
- run:
99
name: Test dependencies

0 commit comments

Comments
 (0)