Skip to content

Commit

Permalink
chore(ci): Publish package to JSR on push to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kellnerd committed Mar 24, 2024
1 parent 5c7d912 commit 3eae19c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://jsr.io/docs/publishing-packages
name: Publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
# The OIDC ID token is used for authentication with JSR.
id-token: write
steps:
- uses: actions/checkout@v4
- run: npx jsr publish

0 comments on commit 3eae19c

Please sign in to comment.