Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ jobs:
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: pnpm lerna publish -y --create-release github

- name: Version package with lerna
run: pnpm lerna version -y --no-private
env:
HUSKY: 0
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Publish to npm
run: pnpm -r publish --access public --tag latest
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ coverage
# Protobuf definition
protobuf
.bufcache


# lerna
lerna-debug.log
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#https://pnpm.io/settings#nodelinker
# We are using bundledDependencies
node-linker=hoisted
9 changes: 4 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
"npmClient": "pnpm",
"version": "independent",
"command": {
"publish": {
"conventionalCommits": true,
"changelogPreset": "conventionalcommits"
},
"version": {
"message": "chore(release): publish"
"conventionalCommits": true,
"message": "chore(release): publish %s",
"createRelease": "github",
"loglevel": "verbose"
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
Expand Down
Loading
Loading