Skip to content

Commit

Permalink
ci: Add jsr.jsonc & jsr-publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Dec 30, 2024
1 parent 8ef085f commit 8a7569a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/jsr-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: JSR Publish
on:
push:
tags:
- v2.*
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- run: npx jsr publish
15 changes: 15 additions & 0 deletions jsr.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@eemeli/yaml",
"version": "2.6.1",
"license": "ISC",
"exports": {
".": "./src/index.ts",
"./util": "./src/util.ts"
},
"exclude": ["*", "!LICENSE", "!README.md", "!src/", "src/cli.ts"],

// deno.json option, see https://github.com/denoland/deno/issues/22651
"compilerOptions": {
"noImplicitOverride": false
}
}

0 comments on commit 8a7569a

Please sign in to comment.