Create publish.yml
Publish to JSR registry on tagged release
This commit is contained in:
16
.github/workflows/publish.yml
vendored
Normal file
16
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: JSR Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*.*.*'
|
||||||
|
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user