Skip to content

Commit

Permalink
fix: publish package to npm registry
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <[email protected]>
  • Loading branch information
Vinayak Kulkarni committed Apr 30, 2024
1 parent 8d50206 commit 420f2a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shipjs-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org
check-latest: true
cache: 'npm'
registry-url: https://npm.pkg.github.com/
scope: '@dscvr-one'

- name: Install dependencies 🚀
Expand All @@ -41,5 +41,5 @@ jobs:
run: npx shipjs trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
registry=https://registry.npmjs.org
@dscvr-one:registry=https://npm.pkg.github.com
@dscvr-one:registry=https://registry.npmjs.org
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com"
"registry": "https://registry.npmjs.org"
},
"keywords": [
"javascript",
Expand All @@ -75,7 +75,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:dscvr-one/link-preview-js"
"url": "git+ssh://git@github.com/dscvr-one/link-preview-js.git"
},
"bugs": {
"url": "https://github.com/dscvr-one/link-preview-js/issues"
Expand Down

0 comments on commit 420f2a6

Please sign in to comment.