Skip to content

Commit 7224f3d

Browse files
authored
Revert "fix(release): use pnpm to publish to npm" (#2076)
1 parent a2ce42a commit 7224f3d

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

.github/workflows/deploy-package.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ jobs:
3333
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
3434
env:
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36-
- name: Version package with lerna
37-
run: pnpm run release:version
36+
- run: pnpm lerna publish -y --create-release github
3837
env:
3938
HUSKY: 0
4039
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 run release:publish

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,3 @@ coverage
2727
# Protobuf definition
2828
protobuf
2929
.bufcache
30-
31-
#lerna
32-
lerna-debug.log

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
"format": "biome check --linter-enabled=false --write .",
2424
"format:check": "biome check --linter-enabled=false --verbose .",
2525
"prettier": "prettier --write '**/*.{md,mdx,yml,yaml}'",
26-
"release:version": "pnpm lerna version -y --create-release-github",
27-
"release:publish": "pnpm -r publish --access public --no-git-checks",
2826
"lint": "eslint --cache .",
2927
"prepare": "husky",
3028
"test": "vitest run",

0 commit comments

Comments
 (0)