From e34090b73217324852aa155f225643513727cd4e Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 20 Mar 2024 15:16:48 +1100 Subject: [PATCH] chore: publish to JSR in CI --- .github/workflows/publish.yml | 16 ++++++++++++++++ deno.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) 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..e094d33 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,16 @@ +name: Publish + +on: + push: + branches: + - main + +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 diff --git a/deno.json b/deno.json index fe5de25..5d1c2fa 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@iuioiua/r2d2", - "version": "2.1.0", + "version": "2.1.1", "exports": "./mod.ts", "imports": { "@std/assert": "jsr:@std/assert@^0.220.1",