Skip to content

Commit

Permalink
feat: enable publishing to central npm (#58)
Browse files Browse the repository at this point in the history
Release-As: 0.4.3
  • Loading branch information
holtgrewe committed Jan 31, 2024
1 parent ca259f6 commit 845cac5
Show file tree
Hide file tree
Showing 3 changed files with 6 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.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@bihealth/reev-frontend-lib",
"private": false,
"publishConfig": {
"access": "public"
},
"version": "0.4.2",
"repository": {
"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 845cac5

Please sign in to comment.