From 486069f8d9b40329c902455263f982903bdbd81c Mon Sep 17 00:00:00 2001 From: bowenliang123 Date: Sat, 3 Oct 2026 23:53:54 +0800 Subject: [PATCH] =?UTF-8?q?ci(pr-checks):=20pin=20pnpm=20=E2=80=94=20the?= =?UTF-8?q?=20package=20carries=20no=20packageManager=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The setup step claimed to read the pnpm version from `packageManager` in package.json, but this plugin package defines no such field, so pnpm/action-setup aborted with "No pnpm version is specified" eight seconds into every external PR's run (#102, #103, #107) — no PR check ever reached the test step. Pin the version explicitly, mirroring release.yml. --- .github/workflows/pr-checks.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 0f0eafc..fafd106 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -18,8 +18,11 @@ jobs: steps: - uses: actions/checkout@v7 - # Reads the pinned pnpm version from `packageManager` in package.json. + # No `packageManager` field in this plugin's package.json — pin the + # version here, as release.yml does. - uses: pnpm/action-setup@v6 + with: + version: latest - uses: actions/setup-node@v7 with: