Skip to content

Commit c3732f4

Browse files
authored
publish to jsr as well (#8)
1 parent 97e2152 commit c3732f4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/npm-publish.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Node.js Package
55

66
on:
77
release:
8-
types: [created]
8+
types: [created, workflow_dispatch]
99

1010
jobs:
1111
build:
@@ -33,3 +33,16 @@ jobs:
3333
- run: npm publish
3434
env:
3535
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
36+
37+
publish-jsr:
38+
runs-on: ubuntu-latest
39+
40+
permissions:
41+
contents: read
42+
id-token: write
43+
44+
steps:
45+
- uses: actions/checkout@v4
46+
47+
- name: Publish package
48+
run: npx jsr publish

0 commit comments

Comments
 (0)