File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ jobs:
6666
6767 # https://docs.npmjs.com/trusted-publishers
6868 - name : Publish to npm
69- run : npm publish
69+ run : npm publish --tag latest
7070
71- - name : Push commit and tag
72- run : git push origin main --follow-tags
71+ - name : Push tag
72+ run : git push origin v${{ inputs.version }}
7373
7474 - name : Create GitHub Release
7575 run : gh release create v${{ inputs.version }} --title "v${{ inputs.version }}" --generate-notes
Original file line number Diff line number Diff line change 4747 "eslint:fix" : " node --run eslint -- --fix" ,
4848 "prettier:check" : " prettier --check ." ,
4949 "prettier:format" : " prettier --write ." ,
50- "typecheck" : " tsc --build" ,
51- "prepublishOnly" : " npm install && node --run build" ,
52- "postpublish" : " git push --follow-tags origin HEAD"
50+ "typecheck" : " tsc --build"
5351 },
5452 "devDependencies" : {
5553 "@biomejs/biome" : " 2.3.8" ,
You can’t perform that action at this time.
0 commit comments