chore: move css build stage to node 24 LTS - #752
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 enablewithexit 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 tonode:24-alpine, digest-pinned. Comment updated, since "bundled with Node 20+" is no longer true above 24..github/dependabot.yml: ignorenodemajor updates. Dependabot has no concept of LTS, so it will keep proposing Current lines..github/dependabot.yml: ignoretypescriptmajor updates. TS 7 removed thebaseUrloption@docusaurus/tsconfigstill 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 enablesucceeds, pnpm 11.21.0 activates, Tailwind 4.2.4 compilesapp.built.css.hadolintclean, and the Dependabot config parses with both ignore rules applied to the right ecosystems.Type of Change
chore:)Checklist
Closes #Ntype:*and onepriority:*labelphase:*label (or none when not roadmap work)