Skip to content

Commit

Permalink
add github action to publish to jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
meech-ward committed Sep 29, 2024
1 parent ba2e6ad commit 07d8c47
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish JSR

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v4
- run: npx jsr publish
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@might/fail",
"version": "0.4.2",
"version": "0.4.3",
"exports": {
".": "./src/index.ts",
"./go": "./src/go/index.ts",
Expand Down

0 comments on commit 07d8c47

Please sign in to comment.