diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..ae643592 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +//registry.npmjs.org/:_authToken=${NPM_TOKEN} diff --git a/circle.yml b/circle.yml index 1646285a..f5b4b545 100644 --- a/circle.yml +++ b/circle.yml @@ -24,7 +24,6 @@ deployment: commands: - npm run clean - npm run build - - echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login - cd dist && npm publish - npm logout - git config --global user.email $CI_DEPLOY_EMAIL @@ -36,6 +35,5 @@ deployment: commands: - npm run clean - npm run build - - echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login - cd dist && npm publish --tag next - npm logout