From d9afca9fae9d3a4ece7da010dcf4b02a94f5687c Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Wed, 3 Jun 2026 00:07:07 +0200 Subject: [PATCH] ci: point pnpm action-setup at .github/release/package.json 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. --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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