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
9 changes: 8 additions & 1 deletion .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ 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 run release:version
env:
HUSKY: 0
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Push version and tags
run: git push origin HEAD:main --follow-tags

- name: Publish to npm
run: pnpm run release:publish
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ coverage
# Protobuf definition
protobuf
.bufcache

#lerna
lerna-debug.log
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"format": "biome check --linter-enabled=false --write .",
"format:check": "biome check --linter-enabled=false --verbose .",
"prettier": "prettier --write '**/*.{md,mdx,yml,yaml}'",
"release:version": "pnpm lerna version -y --create-release-github",
"release:publish": "pnpm -r publish --access public --no-git-checks",
"lint": "eslint --cache .",
"prepare": "husky",
"test": "vitest run",
Expand Down
Loading