Skip to content

Commit 0e11960

Browse files
lkostrowskiclaude
andauthored
Bump Node.js version from 22 to 24 LTS (#6438)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c7c6283 commit 0e11960

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

.changeset/grumpy-planes-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"saleor-dashboard": patch
3+
---
4+
5+
Bumped Node to v24 in Dockerfiles (Github Actions, Docker, Devcontainers)

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/typescript-node:22 AS pnpm
1+
FROM mcr.microsoft.com/devcontainers/typescript-node:24 AS pnpm
22

33
RUN corepack enable
44

@@ -9,7 +9,7 @@ RUN corepack prepare pnpm@10 --activate
99

1010
FROM pnpm AS deps
1111

12-
COPY --chown=1000:1000 ./package.json ./pnpm-lock.yaml ./.npmrc /app/
12+
COPY --chown=1000:1000 ./package.json ./pnpm-lock.yaml ./pnpm-workspace.yaml ./.npmrc /app/
1313
RUN --mount=type=cache,mode=0700,uid=1000,gid=1000,target=/pnpm/store \
1414
pnpm install --frozen-lockfile
1515

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine AS builder
1+
FROM node:24-alpine AS builder
22
RUN apk --no-cache add bash
33
RUN corepack enable && corepack prepare pnpm@10 --activate
44
WORKDIR /app

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
},
240240
"packageManager": "pnpm@10.28.1",
241241
"engines": {
242-
"node": ">=22.15 <23",
242+
"node": ">=24 <25",
243243
"pnpm": ">=10"
244244
}
245245
}

0 commit comments

Comments
 (0)