From 8d12901a3b185b95c64fe5a46089ab328c7d1aa1 Mon Sep 17 00:00:00 2001 From: Zuri Klaschka Date: Fri, 6 Sep 2024 22:55:03 +0200 Subject: [PATCH] Add GitHub Actions workflow for publishing on JSR --- .github/workflows/jsr-publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..d7e4f32 --- /dev/null +++ b/.github/workflows/jsr-publish.yml @@ -0,0 +1,19 @@ +name: Publish on JSR +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 \ No newline at end of file