From 1fd7a7ecf0aa88bb489f22bacd4788e59c0ed549 Mon Sep 17 00:00:00 2001 From: Hugh Hackman Date: Sat, 21 Mar 2026 23:58:29 +0000 Subject: [PATCH] fix: add pnpm version fallback to plugin-ci shared workflow pnpm/action-setup@v4 requires either a version input or a packageManager field in package.json. Repos with pnpm-lock.yaml but no packageManager field were failing with "No pnpm version is specified." Adding version: latest as a fallback allows the action to install the latest stable pnpm when packageManager is not set. Repos that do specify packageManager in package.json continue to use their pinned version. Co-Authored-By: Paperclip --- .github/workflows/plugin-ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/plugin-ci.yaml b/.github/workflows/plugin-ci.yaml index 06d786b..35fdf4b 100644 --- a/.github/workflows/plugin-ci.yaml +++ b/.github/workflows/plugin-ci.yaml @@ -32,6 +32,7 @@ jobs: uses: pnpm/action-setup@v4 with: run_install: false + version: latest - name: Setup Node uses: actions/setup-node@v4