chore: publish to npm instead of GitHub package registry

This commit is contained in:
Jixun 2021-12-19 20:29:01 +00:00
parent 14a059dff7
commit 76ea7ffb38
2 changed files with 2 additions and 7 deletions

View File

@ -14,8 +14,6 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@unlock-music'
- name: 📦 Install Dependencies
run: npm ci
- name: 🧾 Test
@ -31,4 +29,4 @@ jobs:
run: npm publish
if: startsWith(github.ref, 'refs/tags/v')
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -12,10 +12,7 @@
"test": "jest -w 50% src",
"prepare": "simple-git-hooks"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"repository": "git://github.com/unlock-music/joox-crypto.git",
"repository": "github:unlock-music/joox-crypto.git",
"keywords": [
"joox"
],