Skip to content

Commit

Permalink
Merge pull request #50 from etherisc/feature/node_20
Browse files Browse the repository at this point in the history
update node to 20 lts
  • Loading branch information
doerfli authored Jan 22, 2024
2 parents 48c7e44 + 6469e33 commit 53ad434
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
"features": {
"docker-from-docker": "latest",
},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
}

// "mounts": [
// "source=depeg-ui-node_modules,target=/workspaces/depeg-ui/node_modules,type=volume"
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
context: ..
dockerfile: .devcontainer/Dockerfile
args:
VARIANT: 18-bullseye
VARIANT: 20-bullseye
volumes:
- ..:/workspaces/staking-backend-processor:cached
- staking-backend-processor-node_modules:/workspaces/staking-backend-processor/node_modules
Expand Down
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ updates:
interval: "weekly"
ignore:
- dependency-name: "node"
versions: ["19-alpine", "20-alpine"]
versions: ["21-alpine"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand All @@ -23,7 +23,7 @@ updates:
open-pull-requests-limit: 30
ignore:
- dependency-name: "@types/node"
versions: ["19.x", "20.x"]
versions: ["21.x"]
- dependency-name: "@etherisc/gif-interface"
# ignore all updates to this dependency
- dependency-name: "@etherisc/depeg-contracts"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: NPM install
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT=node:18-alpine
ARG VARIANT=node:20-alpine
# Install dependencies only when needed
FROM ${VARIANT} AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@etherisc/registry-contracts": "1.1.2-6e0b482",
"@typechain/ethers-v5": "^11.1.2",
"@types/node": "^18.19.8",
"@types/node": "^20.0.0",
"ts-node-dev": "^2.0.0",
"typechain": "^8.3.2",
"typescript": "^5.3.3"
Expand Down

0 comments on commit 53ad434

Please sign in to comment.