From 9e902e7db3f7beb6f5482d2e2aed9299d9f53d6a Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 9 May 2026 18:30:50 +0100 Subject: [PATCH] ci: switch pnpm/action-setup to packageManager-only Pinning pnpm version on the action while ether/etherpad-lite's package.json has "packageManager": "pnpm@11.0.6" triggers ERR_PNPM_BAD_PM_VERSION regardless of the pinned value. Drop the version pin and (for workflows that check out etherpad-lite into ./etherpad-lite/) point the action at the core's package.json so it reads the canonical version from packageManager. --- .github/workflows/backend-tests.yml | 2 +- .github/workflows/frontend-tests.yml | 2 +- .github/workflows/npmpublish.yml | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index c2df389..ce1740d 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -33,7 +33,7 @@ jobs: - uses: pnpm/action-setup@v6 name: Install pnpm with: - version: 11 + package_json_file: ./etherpad-lite/package.json run_install: false - name: Get pnpm store directory shell: bash diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index ec99518..da5de35 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -23,7 +23,7 @@ jobs: - uses: pnpm/action-setup@v6 name: Install pnpm with: - version: 11 + package_json_file: ./etherpad-lite/package.json run_install: false - name: Get pnpm store directory shell: bash diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 3252216..3c746d6 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -34,7 +34,6 @@ jobs: - uses: pnpm/action-setup@v6 name: Install pnpm with: - version: 11 run_install: false - name: Get pnpm store directory shell: bash