diff --git a/tests/e2e/setup/001-npm-sandbox.ts b/tests/e2e/setup/001-npm-sandbox.ts index dcd5f8a1a021..9989beb80b36 100644 --- a/tests/e2e/setup/001-npm-sandbox.ts +++ b/tests/e2e/setup/001-npm-sandbox.ts @@ -35,6 +35,9 @@ export default async function () { process.env['NPM_CONFIG_legacy_peer_deps'] = 'true'; } + // Allow github tarballs consumption. + process.env['NPM_CONFIG_allow_remote'] = 'all'; + // Configure the registry and prefix used within the test sandbox via rc files await writeFile(npmrc, `registry=${npmRegistry}\nprefix=${npmModulesPrefix}`); await writeFile(yarnrc, `registry ${npmRegistry}\nprefix ${yarnModulesPrefix}`); diff --git a/tests/e2e/setup/100-global-cli.ts b/tests/e2e/setup/100-global-cli.ts index 9f587fa5c38d..d660fc1d1158 100644 --- a/tests/e2e/setup/100-global-cli.ts +++ b/tests/e2e/setup/100-global-cli.ts @@ -3,7 +3,7 @@ import { getActivePackageManager } from '../utils/packages'; import { globalNpm } from '../utils/process'; const PACKAGE_MANAGER_VERSION = { - 'npm': '10.8.1', + 'npm': '12.0.2', 'yarn': '1.22.22', 'pnpm': '10.17.1', 'bun': '1.3.2',