Skip to content

Commit 2c447e5

Browse files
committed
feat: use Github Action to publish jsr pkg
1 parent 9cd77cb commit 2c447e5

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish hnxml to jsr.io
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Deno
18+
uses: denoland/setup-deno@v2.0.3
19+
20+
- name: Publish to JSR
21+
run: deno publish

0 commit comments

Comments
 (0)