Skip to content

fix: release publishing by upgrading pnpm (#592) - #593

Merged
lornakelly merged 2 commits into
open-workflow-specification:mainfrom
fantonangeli:issue-592-bug-Release-CI-fails-with-pnpm-10310-during-npm-publish
Dec 4, 2026
Merged

lornakelly merged 2 commits into
open-workflow-specification:mainfrom
fantonangeli:issue-592-bug-Release-CI-fails-with-pnpm-10310-during-npm-publish

Conversation

@fantonangeli

@fantonangeli fantonangeli commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Closes #592

Description

After merging #590 – chore: version packages, the Release :: Publish workflow failed while attempting to publish version 1.2.0 to npm.

The failure occurs during the Changesets publish command (pnpm changeset publish), configured in the workflow at line 61.

The failed job reports the following error:

Exit prior to config file resolving
cause
double-loading config "/home/runner/.config/pnpm/rc" as "global", previously loaded as "user"

The error matches a known regression introduced in pnpm 10.31.0 and fixed in pnpm 10.32.0.

References

Solution

  • Upgrade pnpm from 10.31.0 to 10.32.0 in the repository and CI configuration.
  • Allow the release publishing workflow to be triggered manually to retry a failed release, preserving the release branch restrictions and npm dist-tag selection.
  • Update the README to reflect the new pnpm version.

Testing

  • pnpm -v (10.32.0)
  • pnpm i && pnpm --workspace-concurrency=1 build:prod
  • Verify release publishing in CI.

No changeset is included because this is a repository infrastructure fix.

Signed-off-by: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 4, 2026 10:40
@netlify

netlify Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openworkflow-editor ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0915cc2
🔍 Latest deploy log https://app.netlify.com/projects/openworkflow-editor/deploys/6b129bb2ebbf92e1d9f62982
😎 Deploy Preview https://deploy-preview-593--openworkflow-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot

changeset-bot Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0915cc2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the pnpm upgrade and manual release-retry changes.

No open issues 🎉

What changed in this PR

Addresses the release-publishing failure in #592 by upgrading pnpm and enabling manual release retries.

Changes:

  • Align pnpm on 10.32.0 across repository requirements, CI, and documentation.
  • Add manual publishing while preserving release-branch restrictions and adapting latest-release selection.
File Description
README.md Updates the required pnpm version.
package.json Updates pnpm engine and package-manager pins.
.github/​workflows/​publish-release.yaml Enables guarded manual retries and updates latest-release selection.
.github/​actions/​setup-ci/​action.yml Installs pnpm 10.32.0 in CI.

Review effort: Balanced

Signed-off-by: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
@fantonangeli fantonangeli added the github_actions Pull requests that update GitHub Actions code label Dec 4, 2026
@fantonangeli

Copy link
Copy Markdown
Member Author

@lornakelly @handreyrc @kumaradityaraj Could you please prioritise this PR, in order to unblock the release?

@fantonangeli fantonangeli changed the title fix: fix release publishing by upgrading pnpm (#592) fix: release publishing by upgrading pnpm (#592) Dec 4, 2026

@lornakelly lornakelly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kumaradityaraj kumaradityaraj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lornakelly
lornakelly merged commit 131a32a into open-workflow-specification:main Dec 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Release CI fails with pnpm 10.31.0 during npm publish

4 participants