Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 628a56d

Browse files
committed
ci: publish to jsr
Signed-off-by: Stephan Renatus <stephan@styra.com>
1 parent 4becbaa commit 628a56d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/sdk_publish.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Publish
55
- main
66
paths:
77
- RELEASES.md
8-
- '*/RELEASES.md'
8+
- "*/RELEASES.md"
99
jobs:
1010
publish:
1111
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
@@ -15,6 +15,18 @@ jobs:
1515
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
1616
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
1717

18+
jsr-publish:
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
id-token: write # OIDC ID token for authentication with JSR
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: 21
28+
- run: npx jsr publish
29+
1830
docs:
1931
runs-on: ubuntu-latest
2032
steps:

0 commit comments

Comments
 (0)