ci: drop conflicting pnpm version pin (fixes "Multiple versions of pnpm")#368
Merged
Conversation
…pm")
`code-quality.yml` and `release.yml` pinned `pnpm/action-setup@v4` with
`version: 9`, which conflicts with `packageManager: pnpm@10.33.0` in
package.json. action-setup v4 then aborts at "Setup pnpm" with:
Error: Multiple versions of pnpm specified:
- version pnpm@10.33.0 in the package.json with the key "packageManager"
- version 9 in the GitHub Action config with the key "version"
So the "Quality Checks" job failed deterministically at setup (all real
steps skipped); release.yml had the same latent bug (and wrong major: 9
vs 10). Remove the redundant `version:` input so the action uses the
`packageManager` field — matching ci.yml, which already works.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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
code-quality.ymlandrelease.ymlpinnedpnpm/action-setup@v4withversion: 9, which conflicts withpackageManager: pnpm@10.33.0inpackage.json. action-setup v4 aborts at the Setup pnpm step:So the Quality Checks job failed deterministically at setup (every real step skipped) — not a flake.
ci.yml("Build and Test") passed because it omits theversion:input.Fix
Remove the redundant
version:input from both workflows so the action reads thepackageManagerfield (single source of truth), matchingci.yml. Also fixes the wrong major (was9, repo uses pnpm10) which would have brokenrelease.yml.🤖 Generated with Claude Code