Skip to content

Commit

Permalink
use .npmrc for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
callum-hyland committed Feb 23, 2024
1 parent bfdef0b commit 8961c8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
yarn build-typechain
yarn build
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > ~/.npmrc

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
run: |
npm config set scope maplelabs
npm publish
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/maple-labs/maple-js"
"url": "git+https://github.com/maple-labs/maple-js.git"
},
"bugs": {
"url": "https://github.com/maple-labs/maple-js/issues"
Expand Down

0 comments on commit 8961c8e

Please sign in to comment.