Keep packaged installation tests independent from the publishing registry

Use the public npm registry for temporary consumer installations so release workflows can publish to GitHub Packages without redirecting test dependencies away from npmjs.
This commit is contained in:
Wayner Barrios
2026-08-17 14:00:15 -05:00
parent 9f267643fa
commit c26096550c
+1
View File
@@ -100,6 +100,7 @@ test("packed npm artifact exposes a working selective-installer executable", ()
npm_config_dry_run: "false",
npm_config_json: "false",
npm_config_loglevel: "silent",
npm_config_registry: "https://registry.npmjs.org/",
};
try {
mkdirSync(installRoot, { recursive: true });