diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6fa43b8..734d264 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,12 @@ jobs: - name: Set up pnpm uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 + with: + # The pnpm tooling lives under .github/release/, not the repo root, + # so the action must read its pinned `packageManager` version from + # there. Without this it scans the (nonexistent) root package.json + # and fails with "No pnpm version is specified". + package_json_file: .github/release/package.json - name: Set up Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 @@ -155,6 +161,12 @@ jobs: - name: Set up pnpm uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 + with: + # The pnpm tooling lives under .github/release/, not the repo root, + # so the action must read its pinned `packageManager` version from + # there. Without this it scans the (nonexistent) root package.json + # and fails with "No pnpm version is specified". + package_json_file: .github/release/package.json - name: Set up Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0