Skip to content

Commit

Permalink
chore: tweak release action
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Mar 2, 2024
1 parent 22b42d9 commit 84c19f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- '**'
tags:
- 'v*'
permissions:
contents: read
id-token: write

jobs:
release:
Expand Down Expand Up @@ -62,7 +65,10 @@ jobs:
file_pattern: '*.md'
commit_message: 'chore: sync changelog'

- name: Publish package
- name: Publish package for NPM
run: ./scripts/release.sh
env:
NPM_TOKEN: ${{secrets.NPM_ORG_TOKEN}}

- name: Publish package for JSR
run: npx jsr publish

0 comments on commit 84c19f0

Please sign in to comment.