diff --git a/.github/workflows/c3-e2e.yml b/.github/workflows/c3-e2e.yml index 9dab2e428f..24070c22fe 100644 --- a/.github/workflows/c3-e2e.yml +++ b/.github/workflows/c3-e2e.yml @@ -287,6 +287,10 @@ jobs: run: pnpm run test:e2e:c3 env: NODE_VERSION: ${{ env.NODE_VERSION }} + # Some framework generators write a different pnpm version to `packageManager`. + # By default pnpm downloads and runs it. Concurrent tests can then provision + # that version in the same pnpm tool store, causing recursive installs. + pnpm_config_manage_package_manager_versions: "false" E2E_EXPERIMENTAL: ${{ matrix.experimental }} E2E_TEST_PM: ${{ matrix.pm.name }} E2E_TEST_PM_VERSION: ${{ matrix.pm.version }} diff --git a/packages/create-cloudflare/turbo.json b/packages/create-cloudflare/turbo.json index 918fd28c77..ae9209806b 100644 --- a/packages/create-cloudflare/turbo.json +++ b/packages/create-cloudflare/turbo.json @@ -28,7 +28,8 @@ "E2E_FRAMEWORK_TEMPLATE_TO_TEST", "E2E_PROJECT_PATH", "E2E_TEST_RETRIES", - "E2E_RUN_DEPLOY_TESTS" + "E2E_RUN_DEPLOY_TESTS", + "pnpm_config_manage_package_manager_versions" ], "dependsOn": ["build"], "inputs": ["e2e/**", "vitest-e2e.config.ts", "!e2e/README.md"],