Skip to content

Pin pnpm through packageManager - #56

Merged
fylorn merged 1 commit into
mainfrom
chore/pnpm-pin
Oct 3, 2026
Merged

fylorn merged 1 commit into
mainfrom
chore/pnpm-pin

Conversation

@fylorn

@fylorn fylorn commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

CI installed pnpm 10 through pnpm/action-setup (version: 10). A local pnpm 11 refused to build the site, so local builds had to switch off its checks.

  • package.json now sets "packageManager": "pnpm@10.34.6".
  • Both workflows drop version: 10. The action reads packageManager (it fails when both are given), and a local pnpm switches to the same version on its own.

Local check: pnpm --version inside the repo reports 10.34.6, pnpm install --frozen-lockfile and pnpm build (61 pages) pass without overrides.

🤖 Generated with Claude Code

CI installed "pnpm 10" through pnpm/action-setup while a local pnpm 11
refused to build the site. package.json now names pnpm@10.34.6: the
action reads it, and a local pnpm switches to that version on its own,
so both build with the same pnpm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 222922c into main Oct 3, 2026
1 check passed
@fylorn
fylorn deleted the chore/pnpm-pin branch October 3, 2026 17:49
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.

1 participant