Skip to content

Commit

Permalink
add jsr publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Aug 8, 2024
1 parent 6d95656 commit b3e1cf0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish on JSR

on:
push:
branches:
- main
paths:
- 'jsr.json'

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: v1.x

- run: deno publish --dry-run && deno publish

0 comments on commit b3e1cf0

Please sign in to comment.