File tree Expand file tree Collapse file tree 5 files changed +5605
-2036
lines changed Expand file tree Collapse file tree 5 files changed +5605
-2036
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-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 33 "npmClient" : " pnpm" ,
44 "version" : " independent" ,
55 "command" : {
6- "publish" : {
7- "conventionalCommits" : true ,
8- "changelogPreset" : " conventionalcommits"
9- },
106 "version" : {
11- "message" : " chore(release): publish"
7+ "conventionalCommits" : true ,
8+ "message" : " chore(release): publish %s" ,
9+ "createRelease" : " github" ,
10+ "loglevel" : " verbose"
1211 }
1312 },
1413 "$schema" : " node_modules/lerna/schemas/lerna-schema.json"
You can’t perform that action at this time.
0 commit comments