Skip to content

Commit 87cd6c4

Browse files
authored
Merge pull request #427 from github-community-projects/chore/nodejs-24-support
chore: add Node.js 24 support, drop Node.js 18
2 parents 1ad9a13 + 101e7c4 commit 87cd6c4

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.21.1
1+
24.14.1

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM node:22-alpine@sha256:c06bea602e410a3321622c7782eb35b0afb7899d9e28300937ebf2e521902555 AS deps
1+
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b AS deps
22
RUN apk add --no-cache libc6-compat
33
WORKDIR /app
44

55
COPY package.json package-lock.json ./
66
RUN npm install --omit=dev
77

8-
FROM node:22-alpine@sha256:c06bea602e410a3321622c7782eb35b0afb7899d9e28300937ebf2e521902555 AS builder
8+
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b AS builder
99
WORKDIR /app
1010
COPY --from=deps /app/node_modules ./node_modules
1111
COPY . .
@@ -14,7 +14,7 @@ ENV NEXT_TELEMETRY_DISABLED=1
1414

1515
RUN npm run build
1616

17-
FROM node:22-alpine@sha256:c06bea602e410a3321622c7782eb35b0afb7899d9e28300937ebf2e521902555 AS runner
17+
FROM node:24-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b AS runner
1818
LABEL maintainer="@github" \
1919
org.opencontainers.image.url="https://github.com/github-community-projects/private-mirrors" \
2020
org.opencontainers.image.source="https://github.com/github-community-projects/private-mirrors" \

package-lock.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@eslint/js": "9.39.2",
5151
"@tanstack/eslint-plugin-query": "5.78.0",
5252
"@types/jest": "29.5.14",
53-
"@types/node": "20.14.10",
53+
"@types/node": "^22.19.15",
5454
"@types/node-fetch": "2.6.12",
5555
"@types/react": "18.3.12",
5656
"@types/styled-components": "5.1.36",
@@ -73,7 +73,7 @@
7373
"typescript-eslint": "8.54.0"
7474
},
7575
"engines": {
76-
"node": "^20.9 || ^22"
76+
"node": "^22 || ^24"
7777
},
7878
"lint-staged": {
7979
"*": "npm run lint:fix"

0 commit comments

Comments
 (0)