Skip to content

Commit 84c19f0

Browse files
committed
chore: tweak release action
1 parent 22b42d9 commit 84c19f0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- '**'
77
tags:
88
- 'v*'
9+
permissions:
10+
contents: read
11+
id-token: write
912

1013
jobs:
1114
release:
@@ -62,7 +65,10 @@ jobs:
6265
file_pattern: '*.md'
6366
commit_message: 'chore: sync changelog'
6467

65-
- name: Publish package
68+
- name: Publish package for NPM
6669
run: ./scripts/release.sh
6770
env:
6871
NPM_TOKEN: ${{secrets.NPM_ORG_TOKEN}}
72+
73+
- name: Publish package for JSR
74+
run: npx jsr publish

0 commit comments

Comments
 (0)