Skip to content

Commit

Permalink
fix: update nodejs version (#4764)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Rice <[email protected]>
  • Loading branch information
mrice32 authored Jul 17, 2024
1 parent 30ab4dd commit e31b1b0
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ orbs:
jobs:
checkout_and_install:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
working_directory: ~/protocol
steps:
- checkout
Expand All @@ -28,7 +28,7 @@ jobs:
- ~/.ssh
build:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
working_directory: ~/protocol
resource_class: large
steps:
Expand All @@ -50,7 +50,7 @@ jobs:
- ~/.ssh
lint:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
working_directory: ~/protocol
steps:
- restore_cache:
Expand All @@ -73,7 +73,7 @@ jobs:
configuration_path: /home/circleci/protocol/.circleci/lerna_config.yml
coverage:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
working_directory: ~/protocol
steps:
- checkout
Expand All @@ -86,7 +86,7 @@ jobs:
path: packages/core/coverage
publish:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
working_directory: ~/protocol
steps:
- add_ssh_keys:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# that are not in the protocol repo, such as the Across v2 relayer. To access these set a command

# Fix node version due to high potential for incompatibilities.
FROM node:16
FROM node:20

# All source code and execution happens from the protocol directory.
WORKDIR /protocol
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For detailed information on how to initialize and interact with our smart contra

### Install dependencies 👷‍♂️

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:
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:

```
yarn
Expand Down
2 changes: 1 addition & 1 deletion ci/tests/test-financial-templates-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cat << EOF
test-financial-templates-lib-hardhat:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
- image: trufflesuite/ganache-cli
command: ganache-cli -i 1234 -l 9000000 -p 9545
working_directory: ~/protocol
Expand Down
2 changes: 1 addition & 1 deletion ci/tests/test-liquidator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cat << EOF
test-liquidator-package:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
- image: trufflesuite/ganache-cli
command: ganache-cli -i 1234 -l 9000000 -p 9545
working_directory: ~/protocol
Expand Down
2 changes: 1 addition & 1 deletion ci/tests/test-not-required.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2.1
jobs:
tests-required:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
steps:
- run:
name: Test dependencies
Expand Down
2 changes: 1 addition & 1 deletion ci/tests/test-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PACKAGE=$1
cat << EOF
test-${PACKAGE:5}:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
- image: trufflesuite/ganache-cli
command: ganache-cli -i 1234 -l 9000000 -p 9545
working_directory: ~/protocol
Expand Down
2 changes: 1 addition & 1 deletion ci/tests/test-required.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cat << EOF
tests-required:
docker:
- image: cimg/node:16.17.0
- image: cimg/node:lts
steps:
- run:
name: Test dependencies
Expand Down

0 comments on commit e31b1b0

Please sign in to comment.