File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,13 @@ jobs:
4646 uses : changesets/action@v1
4747 with :
4848 version : pnpm run version
49- publish : pnpm run publish
49+ publish : pnpm changeset publish
5050 commit : " ci: release"
5151 title : " ci: release"
5252 env :
5353 GITHUB_TOKEN : ${{ steps.get-token.outputs.token }}
5454 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
5555 NPM_CONFIG_PROVENANCE : true
56+ - name : Publish to JSR
57+ if : steps.changesets.outputs.published == 'true'
58+ run : npx jsr publish
Original file line number Diff line number Diff line change 4242 "lint:types" : " attw --pack ." ,
4343 "lint:package" : " publint" ,
4444 "lint:prettier" : " prettier --check src" ,
45- "publish" : " changeset publish && npx jsr publish" ,
4645 "lint" : " pnpm run '/^lint:.*/'" ,
4746 "test" : " pnpm build && node --test" ,
4847 "tsdoc" : " tsdoc --src=src/index.ts && prettier --write README.md" ,
You can’t perform that action at this time.
0 commit comments