Skip to content

Commit

Permalink
#2 publish package to npmjs instead of github
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6a77 committed Jan 21, 2020
1 parent 634eb96 commit a4a956c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Expand Up @@ -42,10 +42,7 @@ jobs:
at: ~/improbable-grpc-web/client/grpc-web
- run:
name: Authenticate with registry
command: |
echo "@addrobots:registry=https://npm.pkg.github.com/" > ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=\"$GITHUB_AUTH_TOKEN\"" >> ~/.npmrc
npm set @addrobots:registry https://npm.pkg.github.com
command: echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
- run:
name: Publish package
command: npm publish
Expand Down
1 change: 0 additions & 1 deletion client/grpc-web/package.json
Expand Up @@ -12,7 +12,6 @@
"lib:build-dev": "npm run clean && webpack -d --mode development"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/",
"access": "public"
},
"author": "Improbable",
Expand Down

0 comments on commit a4a956c

Please sign in to comment.