ci: disable pnpm cache to fix runner hangs
Some checks failed
CI/CD / publish-rpm (push) Blocked by required conditions
CI/CD / typecheck (push) Successful in 49s
CI/CD / test (push) Successful in 58s
CI/CD / lint (push) Successful in 2m6s
CI/CD / smoke (push) Failing after 1m3s
CI/CD / build (push) Has been cancelled

The single-worker Gitea runner consistently hangs when multiple parallel
jobs try to restore the pnpm cache simultaneously. Removing cache: pnpm
from setup-node trades slightly slower installs for reliable execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michal
2026-03-09 17:15:27 +00:00
parent c74e693f89
commit a5ac0859fb

View File

@@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# no pnpm cache — concurrent cache restore hangs on single-worker runner
- run: pnpm install --frozen-lockfile
@@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# no pnpm cache — concurrent cache restore hangs on single-worker runner
- run: pnpm install --frozen-lockfile
@@ -65,7 +65,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# no pnpm cache — concurrent cache restore hangs on single-worker runner
- run: pnpm install --frozen-lockfile
@@ -110,7 +110,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# no pnpm cache — concurrent cache restore hangs on single-worker runner
- run: pnpm install --frozen-lockfile
@@ -214,7 +214,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# no pnpm cache — concurrent cache restore hangs on single-worker runner
- name: Install dependencies (hoisted for bun compile compatibility)
run: |