Skip to content

Commit

Permalink
feat: enable publishing to central npm (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Jan 31, 2024
1 parent ca259f6 commit 84dd874
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ jobs:
with:
node-version: "20.x"
cache: "npm"
registry-url: https://npm.pkg.github.com/

- name: Install dependencies
run: npm ci

- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.BOT_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"type": "git",
"url": "https://github.com/bihealth/reev-frontend-lib.git"
},
"publishConfig": {
"@bihealth:registry": "https://npm.pkg.github.com"
},
"type": "module",
"files": [
"dist"
Expand Down

0 comments on commit 84dd874

Please sign in to comment.