From 7bdf9f5026a679c1006ea08ecd9f3c4a5df31682 Mon Sep 17 00:00:00 2001 From: izure Date: Wed, 13 Nov 2024 19:35:15 +0900 Subject: [PATCH] Create jsr-publish.yml --- .github/workflows/jsr-publish.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..3d0a153 --- /dev/null +++ b/.github/workflows/jsr-publish.yml @@ -0,0 +1,23 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Publish package + run: npx jsr publish +