Skip to content

ci(release): defer pnpm version to packageManager#95

Merged
PAMulligan merged 1 commit into
mainfrom
fix/release-workflow-pnpm-version
May 15, 2026
Merged

ci(release): defer pnpm version to packageManager#95
PAMulligan merged 1 commit into
mainfrom
fix/release-workflow-pnpm-version

Conversation

@PAMulligan
Copy link
Copy Markdown
Contributor

Summary

The Release workflow was failing at the Install pnpm step with ERR_PNPM_BAD_PM_VERSION:

Multiple versions of pnpm specified:

  • version 9 in the GitHub Action config with the key "version"
  • version pnpm@10.15.1 in the package.json with the key "packageManager"

pnpm/action-setup@v6 treats this as fatal. Dropping the explicit version: 9 lets the action defer to packageManager — same single-source-of-truth pattern ci.yml already uses via corepack.

Surfaced while triggering the v0.6.0 release (failed run).

Test plan

  • Re-trigger the Release workflow once this merges; confirm it gets past Install pnpm and tags v0.6.0.

🤖 Generated with Claude Code

pnpm/action-setup@v6 errors out (ERR_PNPM_BAD_PM_VERSION) when both
`version` and `packageManager` are set. The repo pins pnpm@10.15.1 in
package.json, so drop the conflicting `version: 9` from release.yml and
let the action read packageManager — matching how ci.yml already works
via corepack.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the area: ci-cd CI/CD workflows label May 15, 2026
@PAMulligan PAMulligan merged commit 09a676a into main May 15, 2026
7 checks passed
@PAMulligan PAMulligan deleted the fix/release-workflow-pnpm-version branch May 15, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci-cd CI/CD workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant