Skip to content

Commit

Permalink
chore: preparing package release
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jan 25, 2024
1 parent a74b9d4 commit f9a4584
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,24 @@ jobs:
needs: release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
permissions:
packages: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# TODO: create package and upload to GitHub
- name: Set up node 20.x
uses: actions/setup-node@v3
with:
node-version: "20.x"
cache: "npm"
cache-dependency-path: |
- name: Install dependencies
run: npm ci

- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@bihealth:registry=https://npm.pkg.github.com
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"format": "prettier --write src/ *.ts *.mts *.json",
"format:check": "prettier --list-different src/ *.ts *.mts *.json"
},
"publishConfig": {
"@bihealth:registry": "https://npm.pkg.github.com"
},
"dependencies": {
"@mdi/font": "^7.3.67",
"@reactgular/chunks": "^1.0.1",
Expand Down

0 comments on commit f9a4584

Please sign in to comment.