From ce0b1cf57bc8a0b865b09d570d53c364962bb25e Mon Sep 17 00:00:00 2001 From: Ian Bailey Date: Sun, 28 Sep 2025 12:02:44 +0800 Subject: [PATCH] Create publish.yml Publish to JSR registry on tagged release --- .github/workflows/publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..84b5940 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,16 @@ +name: JSR Publish + +on: + push: + tags: + - 'v*.*.*' + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write # The OIDC ID token is used for authentication with JSR. + steps: + - uses: actions/checkout@v4 + - run: npx jsr publish