Skip to content

Commit 54585b1

Browse files
committed
ci: publish to JSR
1 parent 5e75197 commit 54585b1

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ jobs:
1313
permissions:
1414
contents: write
1515
id-token: write
16+
17+
release-jsr:
18+
uses: sxzz/workflows/.github/workflows/release-jsr.yml@v1
19+
permissions:
20+
contents: read
21+
id-token: write

jsr.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://jsr.io/schema/config-file.v1.json",
3+
"name": "@sxzz/obug",
4+
"version": "2.1.1",
5+
"license": "MIT",
6+
"exports": {
7+
".": "./src/node.ts",
8+
"./browser": "./src/browser.ts",
9+
"./node": "./src/node.ts"
10+
},
11+
"publish": {
12+
"include": [
13+
"src",
14+
"README.md",
15+
"LICENSE"
16+
]
17+
}
18+
}

0 commit comments

Comments
 (0)