Skip to content

ci: drop conflicting pnpm version pin (fixes "Multiple versions of pnpm")#368

Merged
xuyushun441-sys merged 1 commit into
mainfrom
ci/fix-pnpm-setup-version
Jun 3, 2026
Merged

ci: drop conflicting pnpm version pin (fixes "Multiple versions of pnpm")#368
xuyushun441-sys merged 1 commit into
mainfrom
ci/fix-pnpm-setup-version

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Summary

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 aborts at the Setup pnpm step:

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 (every real step skipped) — not a flake. ci.yml ("Build and Test") passed because it omits the version: input.

Fix

Remove the redundant version: input from both workflows so the action reads the packageManager field (single source of truth), matching ci.yml. Also fixes the wrong major (was 9, repo uses pnpm 10) which would have broken release.yml.

🤖 Generated with Claude Code

…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>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
hotcrm Ignored Ignored Jun 3, 2026 3:46am

Request Review

@github-actions github-actions Bot added the ci/cd label Jun 3, 2026
@xuyushun441-sys xuyushun441-sys merged commit fbd49eb into main Jun 3, 2026
6 checks passed
@xuyushun441-sys xuyushun441-sys deleted the ci/fix-pnpm-setup-version branch June 3, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants