File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585
8686 - uses : actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
8787 with :
88- node-version : 22
88+ node-version : 26
8989 cache : pnpm
9090 cache-dependency-path : frontend/pnpm-lock.yaml
9191
Original file line number Diff line number Diff line change 8181
8282 - uses : actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
8383 with :
84- node-version : 22
84+ node-version : 26
8585 cache : pnpm
8686 cache-dependency-path : frontend/pnpm-lock.yaml
8787
Original file line number Diff line number Diff line change 99# identical for every architecture. Without this pin a multi-arch build (buildx:
1010# linux/amd64,linux/arm64) runs pnpm install and pnpm build a second time under QEMU
1111# for arm64, which is slow and occasionally hangs for hours.
12- FROM --platform=$BUILDPLATFORM node:22 -alpine@sha256:fe4f6d74e20370acb04ad889077d14d0f64a9c8ea6a42bc60cddf1e844699914 AS frontend-builder
12+ FROM --platform=$BUILDPLATFORM node:26 -alpine@sha256:8996bb5821d62a8fd9bb27c1cb07462f3fdce6e47d640c6a881ead0b064ce216 AS frontend-builder
1313
1414# Pin pnpm to the version in package.json's `packageManager` field (not @latest)
1515# so CI builds are reproducible and match the committed lockfile.
16- RUN corepack enable && corepack prepare pnpm@10.32.1 --activate
16+ #
17+ # Installed with npm, not corepack: Node 25+ no longer bundles corepack, so
18+ # `corepack enable` fails on node:26-alpine with "corepack: not found". Installing
19+ # the pinned version directly keeps the same guarantee without that dependency.
20+ RUN npm install -g pnpm@10.32.1
1721
1822WORKDIR /app
1923
You can’t perform that action at this time.
0 commit comments