Skip to content

Commit 8a7569a

Browse files
committed
ci: Add jsr.jsonc & jsr-publish workflow
1 parent 8ef085f commit 8a7569a

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/jsr-publish.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: JSR Publish
2+
on:
3+
push:
4+
tags:
5+
- v2.*
6+
workflow_dispatch:
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+
- run: npx jsr publish

jsr.jsonc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@eemeli/yaml",
3+
"version": "2.6.1",
4+
"license": "ISC",
5+
"exports": {
6+
".": "./src/index.ts",
7+
"./util": "./src/util.ts"
8+
},
9+
"exclude": ["*", "!LICENSE", "!README.md", "!src/", "src/cli.ts"],
10+
11+
// deno.json option, see https://github.com/denoland/deno/issues/22651
12+
"compilerOptions": {
13+
"noImplicitOverride": false
14+
}
15+
}

0 commit comments

Comments
 (0)