Skip to content

Commit 64e5e21

Browse files
committed
chore(ci): forcefully login NPM on CI if NPM_AUTH_TOKEN is set
1 parent a40f562 commit 64e5e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/publish_all_packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if ! command -v npm >/dev/null; then
2525
exit 1
2626
fi
2727

28-
if [[ (-n $CI) && (-n $NPM_AUTH_TOKEN) && (! -f $HOME/.npmrc) ]]; then
28+
if [[ (-n $CI) && (-n $NPM_AUTH_TOKEN) ]]; then
2929
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > $HOME/.npmrc
3030
fi
3131

0 commit comments

Comments
 (0)