Add actions to publish to JSR (#3618)

add it to change-version.sh and publish action
This commit is contained in:
wendrul
2024-04-26 11:18:46 +02:00
committed by GitHub
parent a2c780bc8e
commit edff51f022
2 changed files with 17 additions and 0 deletions

16
.github/workflows/jsr_on_release.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Publish typescript-client on JSR
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: ${{ secrets.JSR_OIDC_ID_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: cd typescript-client && ./publish.jsr.sh