diff --git a/.circleci/config.yml b/.circleci/config.yml index 3bbf1f3e..66625736 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,7 +123,7 @@ jobs: steps: - restore_cache: key: v1-repo-{{ .Environment.CIRCLE_SHA1 }} - - run: echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login + - run: npx npm-cli-login -u $NPM_USER -p $NPM_PASS -e $NPM_EMAIL -s syncano - run: npx lerna publish --canary --yes - run: npx s deploy - run: npx s hosting sync docs diff --git a/packages/cli/package.json b/packages/cli/package.json index 57c72f36..e2df7a41 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -99,6 +99,7 @@ "dirty-chai": "^2.0.1", "mocha": "^4.0.1", "mock-fs": "^4.4.2", + "npm-cli-login": "^0.0.10", "nyc": "^11.3.0", "prettier": "^1.7.4", "rimraf": "^2.6.2",