ci: let package.json own the pnpm pin - action-setup rejects a second pin (first real run: RED at Setup pnpm)
ci / test-pglite (PGlite, default) (push) Failing after 14s
ci / test-postgres (Postgres 16, G-022 RLS) (push) Failing after 24s
ci / test-pglite (PGlite, default) (pull_request) Failing after 13s
ci / test-postgres (Postgres 16, G-022 RLS) (pull_request) Failing after 24s

This commit is contained in:
2026-10-27 04:29:54 +00:00
parent cc5577fe3d
commit 816b03e89a
+3 -2
View File
@@ -41,6 +41,9 @@ on:
env:
# Pin Node + pnpm versions for reproducibility.
NODE_VERSION: "20"
# Display label for the pnpm step only. The INSTALLED pnpm version is the
# packageManager pin in package.json - pnpm/action-setup rejects a second
# pin (workflow version: + package.json packageManager:) and exits 1.
PNPM_VERSION: "11"
jobs:
@@ -61,7 +64,6 @@ jobs:
- name: Setup pnpm ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
- name: Get pnpm store dir
@@ -169,7 +171,6 @@ jobs:
- name: Setup pnpm ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
- name: Cache pnpm store