From e5d45e121b8b925aee39b41507b9b9344c60c363 Mon Sep 17 00:00:00 2001 From: Schalli Date: Thu, 25 Jun 2026 11:38:04 +0200 Subject: [PATCH] fix(06-03): replace pnpm/action-setup with corepack for Gitea Actions compatibility pnpm/action-setup@v4 fails in Gitea Actions runners. Use corepack (built into Node.js) to activate pnpm@9.15.0 matching the packageManager field. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index de07b11..53fadb0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,14 +11,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - with: - version: 9 - - uses: actions/setup-node@v4 with: node-version: 24 - cache: pnpm + + - name: Enable pnpm via corepack + run: corepack enable && corepack prepare pnpm@9.15.0 --activate - name: Install dependencies run: pnpm install --frozen-lockfile @@ -36,14 +34,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - with: - version: 9 - - uses: actions/setup-node@v4 with: node-version: 24 - cache: pnpm + + - name: Enable pnpm via corepack + run: corepack enable && corepack prepare pnpm@9.15.0 --activate - name: Install dependencies run: pnpm install --frozen-lockfile