[codex] pin pnpm in GitHub workflows#609
Open
Sean-Kenneth-Doherty wants to merge 2 commits into
Open
Conversation
This was referenced May 17, 2026
Author
|
Fresh validation against the current PR head (6c8f436):
I validated this in an isolated temporary git worktree so generated .astro/dist output did not touch the main checkout. |
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.
Summary
Pin the pnpm version used by the PR preview workflow and the GitHub Pages deploy workflow to
10.33.4instead oflatest.Why
The preview workflow pins Node.js 20 but installs
pnpm@latest. The current latest pnpm release is 11.x, whose package metadata requires Node.js>=22.13. Dependabot PR preview runs #597 and #598 both failed before dependency installation withERR_UNKNOWN_BUILTIN_MODULE: node:sqliteafter pnpm 11 was installed on Node 20.Pinning pnpm to the latest 10.x release keeps the current Node 20 workflow compatible and prevents future
latestdrift from breaking preview or Pages deploy runs unexpectedly.Validation
npm view pnpm@latest version engines --jsonreports pnpm 11.1.2 requiresnode >=22.13npm view pnpm@10.33.4 version engines --jsonreports pnpm 10.33.4 requiresnode >=18.12pnpm buildgit diff --check