From 84c19f0b4903cbe5fe85dabbf075a59422799d4b Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sun, 3 Mar 2024 00:58:31 +0900 Subject: [PATCH] chore: tweak release action --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e5e92c..2256b6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,9 @@ on: - '**' tags: - 'v*' +permissions: + contents: read + id-token: write jobs: release: @@ -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