From 268b87cec255c141e3152aee323d8b2bf597dedc Mon Sep 17 00:00:00 2001 From: lucaronin Date: Fri, 27 Feb 2026 12:41:24 +0100 Subject: [PATCH] ci: isolate pnpm store per runner to prevent concurrent corruption Self-hosted runners share the same home directory. When multiple runners run concurrently, pnpm/action-setup's shared store at ~/setup-pnpm gets corrupted (ENOTEMPTY errors, missing files). Fix: configure a per-runner store-dir before install so each runner gets its own isolated pnpm store. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4330e104..0b35040d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,9 @@ jobs: - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov + - name: Configure pnpm store (per-runner isolation) + run: pnpm config set store-dir "$HOME/.pnpm-store-${{ runner.name }}" + - name: Install dependencies run: pnpm install --frozen-lockfile