Skip to content

chore: move css build stage to node 24 LTS - #752

Merged
av1155 merged 2 commits into
mainfrom
chore/node-24-lts-build-stage
Aug 12, 2026
Merged

chore: move css build stage to node 24 LTS#752
av1155 merged 2 commits into
mainfrom
chore/node-24-lts-build-stage

Conversation

@av1155

@av1155 av1155 commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Replaces #743, which fails to build.

Closes #751

Summary

Node 25 dropped the bundled corepack the css-build stage uses, so that bump died at RUN corepack enable with exit code: 127. It is also a Current release rather than LTS. Node 24 is the current LTS (Krypton) and still ships corepack, so nothing about how pnpm is installed has to change.

Changes

  • Dockerfile: css-build stage moves to node:24-alpine, digest-pinned. Comment updated, since "bundled with Node 20+" is no longer true above 24.
  • .github/dependabot.yml: ignore node major updates. Dependabot has no concept of LTS, so it will keep proposing Current lines.
  • .github/dependabot.yml: ignore typescript major updates. TS 7 removed the baseUrl option @docusaurus/tsconfig still sets, and an extending config cannot unset an inherited option (see chore(deps-dev): bump typescript from 6.0.3 to 7.0.2 in /website #746).

Patch and minor updates keep flowing for both.

Testing

Built the css-build stage locally against the pinned digest: Node v24.19.0, corepack enable succeeds, pnpm 11.21.0 activates, Tailwind 4.2.4 compiles app.built.css. hadolint clean, and the Dependabot config parses with both ignore rules applied to the right ecosystems.

Type of Change

  • Chore (chore:)

Checklist

  • Issue exists and is linked above with Closes #N
  • Linked issue has exactly one type:* and one priority:* label
  • Linked issue has at most one phase:* label (or none when not roadmap work)
  • Branch name matches issue scope
  • Tests added/updated for all changes — N/A, build config only
  • No secrets or sensitive data committed
  • Scope check: build tooling only, image contents unchanged

Node 25 is a Current release, not LTS, and dropped the bundled corepack
that the css-build stage uses to get pnpm, so the proposed bump failed
to build. Node 24 is the current LTS and still ships corepack.

Dependabot cannot tell an LTS line from a Current one, so node major
updates are now chosen by hand. TypeScript majors are held for the same
reason: TS 7 removed the baseUrl option @docusaurus/tsconfig still sets.
@av1155
av1155 merged commit a9db9dc into main Aug 12, 2026
3 checks passed
@av1155
av1155 deleted the chore/node-24-lts-build-stage branch August 12, 2026 01:28
@av1155 av1155 mentioned this pull request Aug 12, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: move the css build stage to node 24 LTS

1 participant