File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 26
26
- run : sudo apt update && sudo apt install awscli
27
27
- run : yarn
28
28
- run : yarn build
29
- - run : sudo npm i -g npm-cli-login
30
- - run : NPM_USER=$NPM_USERNAME NPM_EMAIL=$NPM_EMAIL NPM_PASS=$NPM_PASSWORD npm-cli-login
29
+ - run : echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
31
30
- run : npm publish --dry-run
32
31
deploy_prod :
33
32
docker :
38
37
- run : sudo apt update && sudo apt install awscli
39
38
- run : yarn
40
39
- run : yarn build
41
- - run : sudo npm i -g add npm-cli-login
42
- - run : NPM_USER=$NPM_USERNAME NPM_EMAIL=$NPM_EMAIL NPM_PASS=$NPM_PASSWORD npm-cli-login
43
- - run : npm publish
40
+ - run : echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
41
+ - run : npm publish --access public
44
42
deploy_demo :
45
43
docker :
46
44
- image : circleci/node:12-browsers
You can’t perform that action at this time.
0 commit comments