Skip to content

Commit 36265f3

Browse files
authored
Merge pull request #3 from Kpler/chore/github-package
chore: publish github package
2 parents 8a2f3bf + a035627 commit 36265f3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release
33
permissions:
44
contents: write # to be able to publish a GitHub release
55
id-token: write # to enable use of OIDC for npm provenance
6+
packages: write
67

78
on:
89
push:
@@ -22,3 +23,8 @@ jobs:
2223
env:
2324
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2425
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
- uses: JS-DevTools/npm-publish@v3
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
registry: "https://npm.pkg.github.com"
30+
access: restricted

0 commit comments

Comments
 (0)