From 20a2dc25ba8c893b80c3b00df6035ed91656070c Mon Sep 17 00:00:00 2001 From: JarvisJiang Date: Sat, 27 Apr 2024 21:36:44 +0800 Subject: [PATCH] Create jsr-publish.yml --- .github/workflows/jsr-publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/jsr-publish.yml diff --git a/.github/workflows/jsr-publish.yml b/.github/workflows/jsr-publish.yml new file mode 100644 index 0000000..6620022 --- /dev/null +++ b/.github/workflows/jsr-publish.yml @@ -0,0 +1,21 @@ +# Publish to JSR. + +name: Publish +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Publish package + run: npx jsr publish