ci(release): rely on packageManager for pnpm version#173
Closed
GSTJ wants to merge 2 commits into
Closed
Conversation
action-setup@v4 errors when both `version:` and root packageManager are set: Error: Multiple versions of pnpm specified This caused the post-merge publish (run 26078575325) to fail. The branch-validation workflow already omits `version` and pulls pnpm from packageManager (pnpm@9.15.9), so doing the same here keeps both workflows aligned and unblocks 7.0.0 publish.
There was a problem hiding this comment.
Pull request overview
This PR fixes the 🚀 Publish workflow failure caused by pnpm/action-setup@v4 detecting conflicting pnpm versions when both the workflow input version: and the repo root packageManager field are set. It aligns the release workflow with the existing branch-validation workflow by letting pnpm be selected from package.json (pnpm@9.15.9), unblocking the 7.0.0 publish.
Changes:
- Remove the explicit
version: 9input frompnpm/action-setup@v4in the release workflow. - Rely on the repository’s root
packageManagerfield (pnpm@9.15.9) to determine the pnpm version.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Owner
Author
|
Superseded by #176 which is authored by GSTJ (trusted-author bypass) and has the same fix. |
auto-merge was automatically disabled
May 19, 2026 06:18
Pull request was closed
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
version:and rootpackageManagerare set, which broke the publish run after fix(ci): post-SDK55 followup — unblock publish, docs, E2E iOS #166 merged (run 26078575325).versionand pulls pnpm frompackageManager(pnpm@9.15.9).Test plan