From ecd0192466f8d72b9f8532e32b1aea63ff9dd640 Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 15:39:35 +0200 Subject: [PATCH] fix(ci): use pnpm 11 in runner pnpm 9 treats the config-only pnpm-workspace.yaml (allowBuilds, no packages field) as a workspace definition and fails with 'packages field missing or empty'. Pin the same major version as local dev. --- .gitea/workflows/pr-checker.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index 3793cfd..3dcd8bf 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -25,7 +25,10 @@ jobs: - uses: pnpm/action-setup@v4 with: - version: 9 + # match the pnpm major version used locally (v11.x) - older pnpm + # rejects our config-only pnpm-workspace.yaml ("packages field + # missing or empty") + version: 11 - name: Install dependencies working-directory: ${{ env.APP_DIR }} @@ -45,7 +48,10 @@ jobs: - uses: pnpm/action-setup@v4 with: - version: 9 + # match the pnpm major version used locally (v11.x) - older pnpm + # rejects our config-only pnpm-workspace.yaml ("packages field + # missing or empty") + version: 11 - name: Install dependencies working-directory: ${{ env.APP_DIR }} @@ -81,7 +87,10 @@ jobs: - uses: pnpm/action-setup@v4 with: - version: 9 + # match the pnpm major version used locally (v11.x) - older pnpm + # rejects our config-only pnpm-workspace.yaml ("packages field + # missing or empty") + version: 11 - name: Audit dependencies for known vulnerabilities working-directory: ${{ env.APP_DIR }}