File tree Expand file tree Collapse file tree 5 files changed +5604
-2032
lines changed Expand file tree Collapse file tree 5 files changed +5604
-2032
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+
37+ - name : Version package with lerna
38+ run : pnpm lerna version -y --no-push --no-private
3739 env :
3840 HUSKY : 0
3941 GH_TOKEN : ${{ secrets.GH_TOKEN }}
42+
43+ - name : Publish to npm
44+ 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
Original file line number Diff line number Diff line change 88 "changelogPreset" : " conventionalcommits"
99 },
1010 "version" : {
11- "message" : " chore(release): publish"
11+ "conventionalCommits" : true ,
12+ "message" : " chore(release): publish %s" ,
13+ "createRelease" : " github"
1214 }
1315 },
1416 "$schema" : " node_modules/lerna/schemas/lerna-schema.json"
You can’t perform that action at this time.
0 commit comments