Skip to content

Commit

Permalink
chore: set up jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
andykais committed Jun 29, 2024
1 parent 803ca9c commit 7e785af
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,26 @@ jobs:

- name: Test
run: deno task test

publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Publish package
needs: test
if: github.ref == 'refs/heads/main'
run: deno publish

0 comments on commit 7e785af

Please sign in to comment.