Skip to content

Commit c235c67

Browse files
authored
fix(ci): always set npm registry to main registry (#1030)
1 parent 84b1d08 commit c235c67

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.evergreen/evergreen.yml.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,7 @@ functions:
505505
export NODE_JS_VERSION=${node_js_version}
506506
source .evergreen/setup-env.sh
507507
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
508-
echo "registry=https://registry.npmjs.org/" > .npmrc
509-
echo "//registry.npmjs.org/:_authToken=${devtoolsbot_npm_token}" >> .npmrc
508+
echo "//registry.npmjs.org/:_authToken=${devtoolsbot_npm_token}" > .npmrc
510509
npm --unsafe-perm=true run bootstrap-ci -- --ignore-prepublish
511510
npm run evergreen-release publish
512511
}

.evergreen/setup-env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ if [ `uname` = Linux ]; then
3939
export npm_config_unsafe_perm=true
4040
fi
4141

42+
export npm_config_registry=https://registry.npmjs.org/
43+
4244
echo "Full path:"
4345
echo $PATH
4446

0 commit comments

Comments
 (0)