chore: publish to npm instead of GitHub package registry
This commit is contained in:
parent
067c45eb9e
commit
c3105943ab
4
.github/workflows/build_and_publish.yml
vendored
4
.github/workflows/build_and_publish.yml
vendored
@ -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 }}
|
||||
|
@ -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"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user