From e5494e8e64a1cd4e437b09c100d6ae1651d94093 Mon Sep 17 00:00:00 2001 From: Liuting Du Date: Tue, 5 Nov 2019 16:51:46 +0000 Subject: [PATCH] Fix publish script --- circle.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 3cd5450..e619010 100644 --- a/circle.yml +++ b/circle.yml @@ -72,7 +72,9 @@ jobs: - run: name: Publish to npm command: | - echo -e "$NPM_USER\n$NPM_PASSWORD\n$NPM_EMAIL" | npm login + echo -e "$NPM_USER\n$NPM_PASSWORD\n$NPM_EMAIL" + npm install -g npm-cli-login + npm-cli-login -u $NPM_USER -p $NPM_PASSWORD -e $NPM_EMAIL cd intercom-plugin && npm publish workflows: