Skip to content

fix(ci): download artifact before pnpm setup in publish job#147

Merged
mscolnick merged 1 commit into
mainfrom
fix/release-pnpm-setup-order
Jun 8, 2026
Merged

fix(ci): download artifact before pnpm setup in publish job#147
mscolnick merged 1 commit into
mainfrom
fix/release-pnpm-setup-order

Conversation

@mscolnick
Copy link
Copy Markdown
Contributor

The publish job has no checkout step, so package.json (with the packageManager field) only exists after the artifact download. Running pnpm/action-setup first left it with no pnpm version to read, causing "No pnpm version is specified".

Fix: reorder so the artifact download runs before pnpm setup.

Fixes the failure in this run.

The publish job has no checkout step, so package.json (with the
packageManager field) only exists after the artifact download. Running
pnpm/action-setup first left it with no pnpm version to read.
Copilot AI review requested due to automatic review settings June 8, 2026 15:17
@mscolnick mscolnick merged commit e1fffb9 into main Jun 8, 2026
4 checks passed
@mscolnick mscolnick deleted the fix/release-pnpm-setup-order branch June 8, 2026 15:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the publish job in the release workflow by ensuring package.json is present before pnpm/action-setup runs, allowing pnpm to read the packageManager field and select the correct pnpm version.

Changes:

  • Move the “Download package artifact” step earlier in the publish job.
  • Ensure pnpm setup happens after the artifact (including package.json) is available.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants