From 9c597cbc80861180cfa6900d628b3d5aeaf5eb1e Mon Sep 17 00:00:00 2001 From: KuchtaVR6 Date: Mon, 19 Oct 2026 19:39:16 +0100 Subject: [PATCH] fix: install pnpm via corepack in CI pnpm/action-setup's self-installer fails on Node 24 ("Running self-installer..." exits 1), breaking both workflows. Use corepack instead, which picks up the pnpm version from the packageManager field and matches how the Dockerfile installs it. Also move upload-artifact to v4, since v3 is retired. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/security-audit.yml | 6 ++---- .github/workflows/typecheck.yml | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 88a3745..7d25f40 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -29,9 +29,7 @@ jobs: node-version: '24' - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10 + run: corepack enable - name: Get pnpm store directory shell: bash @@ -60,7 +58,7 @@ jobs: run: pnpm outdated || true - name: Upload security report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: security-report diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 6b87442..2a0a128 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -27,9 +27,7 @@ jobs: node-version: '24' - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10 + run: corepack enable - name: Get pnpm store directory shell: bash