Skip to content

Commit 43b87ea

Browse files
chore: publish to npm instead of GitHub Package Registry
GitHub Package registry does not have a good consumer experience
1 parent 9a80a47 commit 43b87ea

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
- uses: actions/setup-node@v2
1515
with:
1616
node-version: '14.x'
17-
registry-url: 'https://npm.pkg.github.com'
17+
registry-url: 'https://registry.npmjs.org'
1818
# Defaults to the user or organization that owns the workflow file
1919
scope: '@meshcloud'
2020
- run: yarn
2121
- run: yarn test
2222
- run: yarn build
2323
- run: yarn publish
2424
env:
25-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
},
1111
"author": "Johannes Rudolph <jrudolph@meshcloud.io>",
1212
"license": "MIT",
13-
"publishConfig": {
14-
"registry": "https://npm.pkg.github.com/@meshcloud"
15-
},
1613
"main": "dist/index.js",
1714
"files": [
1815
"dist",

0 commit comments

Comments
 (0)