diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c951c95e..1184cc2b 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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 diff --git a/.github/workflows/publish-npm.yaml b/.github/workflows/publish-npm.yaml index 8aceae0f..14737d87 100644 --- a/.github/workflows/publish-npm.yaml +++ b/.github/workflows/publish-npm.yaml @@ -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 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bee83c99..aab9d2ed 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..431076a9 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16.16.0 diff --git a/.vscode/settings.json b/.vscode/settings.json index 8a8e2505..bf315fc5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,7 @@ "statusBarItem.hoverBackground": "#71C87D" }, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "[solidity]": { "editor.tabSize": 4, @@ -22,4 +22,4 @@ "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "solidity.defaultCompiler": "localNodeModule" -} \ No newline at end of file +} diff --git a/Dockerfile b/Dockerfile index 955672f6..7cceb631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM node:16.14-alpine +FROM node:16.16-alpine ENV SHELL /bin/ash ENV EXECUTE_PROGRAMMATICALLY=true @@ -24,4 +24,3 @@ RUN cd packages/zevm-app-contracts && npx hardhat compile && cd - WORKDIR /home/zetachain/ ENTRYPOINT ["ash"] -