From 8ed2c13c28a947c296c258d2ad3eb63a9c626250 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 11 Mar 2024 11:20:36 -0500 Subject: [PATCH] Publish to JSR with GitHub actions --- .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..b50e290 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,16 @@ +name: Publish + +on: + push: + branches: + - master + +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 \ No newline at end of file