Repository navigation
Enable pnpm before the first local or CI command - #54
Merged
Merged
Conversation
Stock Node 22/24 ships Corepack without a pnpm shim, and setup-node cache: pnpm needs pnpm on PATH before it runs. Document corepack enable in the README and SHA-pin pnpm/action-setup ahead of setup-node. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Official Node 25+ no longer bundles Corepack, so the first local command cannot be corepack enable alone. Install Corepack with npm first; CI stays on Node 22 via SHA-pinned pnpm/action-setup. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
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.
Follow-up to #53. This is the marketing/docs site, not a published npm workspace, so only the site-real leftovers are in this PR.
What changed
pnpmshim. Node 25+ does not bundle Corepack, so local blocks now start withnpm install -g corepackthencorepack enablebefore the firstpnpmcommand, plus a short local-development gate.#53rancorepack enableon the runner image, thensetup-nodewithcache: pnpmon Node 22 (which has no shim yet). Both workflows now SHA-pinpnpm/action-setup@v6.0.10(0977fd99725f1db4007ccb2928dbb4e90d06cc86) beforesetup-nodeso the cache step can see pnpm. The action readspackageManagerfrompackage.json; no extra version or Corepack hash is invented. CI stays on Node 22 and does not tell operators to runcorepack enable.Intentionally skipped
CONTRIBUTING.mdexists; none was invented.workspace:protocol, Semgrep pnpm settings, or fake Corepack hash.docs/securityscan.md(2026-07-29npm audit/package-lock.jsonexclusion), Phase E activation gates indocs/GITHUB_RELEASE_WEBHOOK_PLAN.md, and the Webhooks package’s ownnpm rungates.npx mcp-remoteremains a client instruction, not this repo’s install path.Checks
Local gates passed on the first commit:
corepack enable,pnpm install --frozen-lockfile,pnpm run check(0 diagnostics),pnpm test(208 Node + 2 D1),pnpm run build. The second commit is README-only.