File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - name : Run LKG build
3131 run : npx hereby LKG
3232
33- - name : Commit built files
34- if : success() # Only commit if the previous steps were successful
35- run : |
36- git config --global user.name "github-actions[bot]"
37- git config --global user.email "github-actions[bot]@users.noreply.github.com"
38- git add lib
39- git commit -m "Add built files" || echo "No changes to commit"
40-
41- - name : Push changes
42- if : success() # Only push if the previous steps were successful
43- env :
44- GH_TOKEN : ${{ secrets.GH_TOKEN }}
45- run : |
46- git push origin main
33+ - name : Publish to npm
34+ if : success() # Only publish if the previous steps were successful
35+ run : |
36+ npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
37+ npm publish --access public
Original file line number Diff line number Diff line change 11{
2- "name" : " typescript" ,
2+ "name" : " @isopodlabs/ typescript" ,
33 "author" : " Microsoft Corp." ,
44 "homepage" : " https://www.typescriptlang.org/" ,
55 "version" : " 5.8.0" ,
You can’t perform that action at this time.
0 commit comments