From 27af21b80d4599985cd01fa09406f52de43f3def Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 13 May 2026 16:37:42 +0000 Subject: [PATCH] fix(ci): use pnpm/action-setup on Windows for E2E tests Corepack on Windows wasn't properly respecting the npm_config_registry environment variable when running pnpm commands, causing E2E tests to fail with "No matching version found for netlify-cli@testing" because pnpm was fetching from npmjs.org instead of the local Verdaccio server. Using pnpm/action-setup@v4 on all platforms ensures consistent pnpm behavior and proper registry configuration. https://claude.ai/code/session_016BxeLefKMryvxZnuzBbxVD --- .github/workflows/e2e-tests.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index e297b3d595e..a743d4ea7a5 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -92,13 +92,7 @@ jobs: cache: npm check-latest: true - # Let corepack manage npm, pnpm, and yarn versions on Windows. - - name: Enable corepack (Windows) - if: matrix.os == 'windows-2025' - run: corepack enable - - - name: Setup pnpm (non-Windows) - if: matrix.os != 'windows-2025' + - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 10