Skip to content

ci: point pnpm action-setup at .github/release/package.json#37

Merged
MegaManSec merged 1 commit into
mainfrom
ci/pnpm-package-json-path
Jun 2, 2026
Merged

ci: point pnpm action-setup at .github/release/package.json#37
MegaManSec merged 1 commit into
mainfrom
ci/pnpm-package-json-path

Conversation

@MegaManSec
Copy link
Copy Markdown
Owner

Problem

The Release workflow fails at the Set up pnpm step with No pnpm version is specified.

pnpm/action-setup reads the pnpm version from the packageManager key in package.json, defaulting to the repo root. This repo has no root package.json — the release tooling (and its packageManager: "pnpm@10.6.4" pin) lives under .github/release/. So the action had no version to install and bailed before Node setup, install, or version determination ran. Fallout from #35.

Fix

Point both the version and release jobs' pnpm steps at .github/release/package.json via package_json_file. Keeps a single source of truth (the lockfile there already pins the version) rather than duplicating it inline.

The release tooling's package.json (with the pinned packageManager
version) lives under .github/release/, but pnpm/action-setup defaulted
to the nonexistent root package.json and failed the version and release
jobs with "No pnpm version is specified". Point both steps at the
correct file.
@MegaManSec MegaManSec merged commit 52136a4 into main Jun 2, 2026
2 checks passed
@MegaManSec MegaManSec deleted the ci/pnpm-package-json-path branch June 2, 2026 22:07
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🎉 This PR is included in version 2.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

1 participant