Skip to content

Commit

Permalink
Fix npm publishing (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorjdawson authored Dec 3, 2021
1 parent f8c940e commit 7e8a97c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
- run: sudo apt update && sudo apt install awscli
- run: yarn
- run: yarn build
- run: sudo npm i -g npm-cli-login
- run: NPM_USER=$NPM_USERNAME NPM_EMAIL=$NPM_EMAIL NPM_PASS=$NPM_PASSWORD npm-cli-login
- run: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > .npmrc
- run: npm publish --dry-run
- run: ls -al
- run: pwd
Expand All @@ -47,9 +46,8 @@ jobs:
- run: sudo apt update && sudo apt install awscli
- run: yarn
- run: yarn build
- run: sudo npm i -g add npm-cli-login
- run: NPM_USER=$NPM_USERNAME NPM_EMAIL=$NPM_EMAIL NPM_PASS=$NPM_PASSWORD npm-cli-login
- run: npm publish
- run: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > .npmrc
- run: npm publish --access public
- run: gzip -9 /root/project/dist/iife/index.js
- run: mv /root/project/dist/iife/index.js.gz /root/project/dist/iife/index.js
- run: ls -al
Expand Down

0 comments on commit 7e8a97c

Please sign in to comment.