From e14d5d77cbdbbcde68712785847e61d1f97003ba Mon Sep 17 00:00:00 2001 From: Victor Irzak Date: Sun, 13 Sep 2026 11:45:06 -0400 Subject: [PATCH] Install pnpm under act on Linux The Linux image act runs jobs in has no pnpm, so skipping the install under act left pnpm install to fail with command not found. Only a Windows job under act, which runs on the host, skips it now. Generated with Claude Code --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 020d288..0caf09d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,10 +67,12 @@ jobs: with: setAllVars: true - # Reads the version to install from the packageManager field of package.json. + # Reads the version to install from the packageManager field of package.json. Only a + # Windows job under act skips it: that runs on the host, which has pnpm already, while + # the act image for Linux does not. - name: Install pnpm uses: pnpm/action-setup@v4 - if: ${{ !env.ACT }} + if: ${{ runner.os != 'Windows' || !env.ACT }} - run: pnpm install --frozen-lockfile