Skip to content

Commit 4db0522

Browse files
committed
ci: fix publishing workspace packages with pnpm
1 parent 27d8cda commit 4db0522

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/beta-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
env:
7777
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7878
- name: Publish beta to npm
79-
run: pnpm publish --no-git-checks --tag beta
79+
run: pnpm do-publish --no-git-checks --tag beta
8080

8181
- uses: ad-m/github-push-action@master
8282
with:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
env:
8484
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
8585
- name: Publish to npm
86-
run: pnpm publish --no-git-checks
86+
run: pnpm do-publish --no-git-checks
8787

8888
- uses: ad-m/github-push-action@master
8989
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"release": "standard-version",
1919
"verdaccio": "rimraf verdaccio-storage && verdaccio -c verdaccio.yml",
2020
"local-publish": "pnpm -r run local-publish",
21-
"publish": "pnpm -r publish"
21+
"do-publish": "pnpm -r publish"
2222
},
2323
"devDependencies": {
2424
"@commitlint/cli": "19.3.0",

0 commit comments

Comments
 (0)