Skip to content

Commit ce52c8c

Browse files
authored
chore(ci): use standard npm registry in preinstall (#3432)
Artifactory is currently 503-ing, this should ensure that we do not attempt to use that registry and instead pick the default one even in the CI preinstall script.
1 parent b302e62 commit ce52c8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.evergreen/print-compass-env.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ function printCompassEnv() {
9494
printVar('npm_config_cache', npmCacheDir);
9595
// npm tmp is deprecated, but let's keep it around just in case
9696
printVar('npm_config_tmp', npmTmpDir);
97+
// Also set in our .npmrc but that does not get picked up in the preinstall script.
98+
printVar('npm_config_registry', 'https://registry.npmjs.org/');
9799

98100
printVar('PLATFORM', process.env.PLATFORM);
99101
printVar('ARCH', process.env.ARCH);

0 commit comments

Comments
 (0)