File tree Expand file tree Collapse file tree 6 files changed +334
-2
lines changed Expand file tree Collapse file tree 6 files changed +334
-2
lines changed Original file line number Diff line number Diff line change 3333 - run : echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
3434 env :
3535 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
36- - run : pnpm lerna publish -y --create-release github
36+ - name : Version package with lerna
37+ run : pnpm lerna version -y --no-push --no-private
3738 env :
3839 HUSKY : 0
3940 GH_TOKEN : ${{ secrets.GH_TOKEN }}
41+
42+ - name : Push version and tags
43+ run : git push origin HEAD:main --follow-tags
44+
45+ - name : Publish to npm
46+ run : pnpm -r publish --access public --tag latest
Original file line number Diff line number Diff line change @@ -27,3 +27,7 @@ coverage
2727# Protobuf definition
2828protobuf
2929.bufcache
30+
31+
32+ # lerna
33+ lerna-debug.log
Original file line number Diff line number Diff line change 1+ # https://pnpm.io/settings#nodelinker
2+ # We are using bundledDependencies
3+ node-linker = hoisted
You can’t perform that action at this time.
0 commit comments