From e0668d92898fddfa9b4c0f3c223b8a2f55eba7d9 Mon Sep 17 00:00:00 2001 From: Prithivraj Selvaraj Date: Thu, 1 Jul 2021 10:45:49 +0100 Subject: [PATCH] Fixed CI to use tokens (#302) --- circle.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index 3e3f6c4..5948883 100644 --- a/circle.yml +++ b/circle.yml @@ -71,9 +71,8 @@ jobs: - run: name: Publish to npm command: | - echo -e "$NPM_USER\n$NPM_PASSWORD\n$NPM_EMAIL" - sudo npm install -g npm-cli-login - npm-cli-login -u $NPM_USER -p $NPM_PASSWORD -e $NPM_EMAIL + echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > intercom-plugin/.npmrc + npm config set scope $ORG_NAME cd intercom-plugin && npm publish workflows: