Skip to content

Commit

Permalink
Use consistent node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Mar 7, 2024
1 parent 7eb0aba commit a1b59c9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"
node-version-file: ".nvmrc"
cache: "yarn"
registry-url: "https://registry.npmjs.org"

- name: Install Dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"
node-version-file: ".nvmrc"
cache: "yarn"
registry-url: "https://registry.npmjs.org"

- name: Install Dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "16"
node-version-file: ".nvmrc"
cache: "yarn"
registry-url: "https://registry.npmjs.org"

- name: Install Dependencies
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.16.0
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"statusBarItem.hoverBackground": "#71C87D"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"[solidity]": {
"editor.tabSize": 4,
Expand All @@ -22,4 +22,4 @@
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"solidity.defaultCompiler": "localNodeModule"
}
}
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM node:16.14-alpine
FROM node:16.16-alpine

ENV SHELL /bin/ash
ENV EXECUTE_PROGRAMMATICALLY=true
Expand All @@ -24,4 +24,3 @@ RUN cd packages/zevm-app-contracts && npx hardhat compile && cd -
WORKDIR /home/zetachain/

ENTRYPOINT ["ash"]

0 comments on commit a1b59c9

Please sign in to comment.