Skip to content

Commit

Permalink
use node LTS 20
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Aug 14, 2024
1 parent 3184931 commit 2211f95
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "20"
- run: yarn
- run: yarn build
- run: yarn test
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "20"
cache: "yarn"
- run: yarn # Caching only saves 30s
- run: yarn build
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "20"
cache: "yarn"
- name: Publish
run: npx @dappnode/dappnodesdk publish ${BUMP_TYPE} --dappnode_team_preset
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Arguments
ARG BASE_IMAGE=node:22.5.1-alpine3.19
ARG BASE_IMAGE=node:20.16.0-alpine3.19
ARG BUILDPLATFORM

# Initial stage to gather git data
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=22.5.1
ARG NODE_VERSION=20.16.0
ARG BASE_IMAGE=node:${NODE_VERSION}-alpine3.19

# Initial stage to gather git data
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "[email protected]:dappnode/DNP_DAPPMANAGER.git",
"license": "GPL-3.0",
"engines": {
"node": "22.x"
"node": "20.x"
},
"workspaces": [
"packages/*"
Expand Down

0 comments on commit 2211f95

Please sign in to comment.