Skip to content

Commit

Permalink
Step Down to Node 20
Browse files Browse the repository at this point in the history
Node 20.17.0 LTS supports require(ESM). Therefore, allowing current Node LTS as well.
  • Loading branch information
CxRes committed Sep 8, 2024
1 parent 3d93e13 commit fd99081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [22.x]
node-version: [ '>=20.17.0' ]
os: [ubuntu-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion docker-image/src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine
FROM node:20-alpine

# hadolint ignore=DL3018
RUN apk add --no-cache openssl
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@
"solid": "bin/solid"
},
"engines": {
"node": ">=22.0"
"node": ">=20.17.0 <21 || >=22.8.0"
}
}

0 comments on commit fd99081

Please sign in to comment.