Skip to content

Commit a810d9b

Browse files
authored
npm cli login
1 parent dab9f26 commit a810d9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

circle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ deployment:
2828
tag: /.*/
2929
commands:
3030
# Publish to NPM
31-
- echo -e "$NPM_USERNAME\n$NPM_PASSWORD\n$NPM_EMAIL" | npm login
31+
- npm install -g npm-cli-login
32+
- npm-cli-login -u $NPM_USERNAME -p $NPM_PASSWORD -e $NPM_EMAIL
3233
- git checkout -f master
3334
# Set the version number
3435
- sed -i -E "s/0.0.0/$CIRCLE_TAG/" package.json

0 commit comments

Comments
 (0)