File tree Expand file tree Collapse file tree 4 files changed +217
-216
lines changed
Expand file tree Collapse file tree 4 files changed +217
-216
lines changed Original file line number Diff line number Diff line change 4040 runs-on : ubuntu-latest
4141 permissions :
4242 contents : write
43+ id-token : write
4344 env :
4445 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4546 outputs :
@@ -108,38 +109,12 @@ jobs:
108109 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
109110 run : npm publish --access public
110111
111- publish-jsr :
112- name : Publish JSR
113- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
114- needs :
115- - create-release
116- runs-on : ubuntu-latest
117- permissions :
118- contents : read
119- id-token : write
120- steps :
121- - name : Checkout repository
122- if : needs.create-release.outputs.release_created == 'true'
123- uses : actions/checkout@v4
124- with :
125- ref : ${{ needs.create-release.outputs.release_tag }}
126- fetch-depth : 0
127- - name : Setup Node.js
128- if : needs.create-release.outputs.release_created == 'true'
129- uses : actions/setup-node@v4
130- with :
131- node-version : 24
132- - name : Publish to JSR
133- if : needs.create-release.outputs.release_created == 'true'
134- run : npx jsr publish
135-
136112 deploy-docs :
137113 name : Deploy Docs
138114 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
139115 needs :
140116 - create-release
141117 - publish-npm
142- - publish-jsr
143118 runs-on : ubuntu-latest
144119 permissions :
145120 contents : read
You can’t perform that action at this time.
0 commit comments