fix: install pnpm via corepack in CI
Code Quality Check / Lint & Type Check (pull_request) Successful in 19s
Security Audit / Security Vulnerability Scan (pull_request) Successful in 19s

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) <[email protected]>
This commit is contained in:
Patryk-KuchtaandClaude Opus 5 committed 2026-10-19 19:39:16 +01:00
1 parent ab7b2fa6f4
commit 9c597cbc80
2 files changed
+3 -7

No files matched your search

+2 -4
View File
@@ -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