Skip to content

Commit

Permalink
ci: fix publishing workspace packages with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
m-radzikowski committed Jun 20, 2024
1 parent 27d8cda commit 4db0522
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish beta to npm
run: pnpm publish --no-git-checks --tag beta
run: pnpm do-publish --no-git-checks --tag beta

- uses: ad-m/github-push-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish to npm
run: pnpm publish --no-git-checks
run: pnpm do-publish --no-git-checks

- uses: ad-m/github-push-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"release": "standard-version",
"verdaccio": "rimraf verdaccio-storage && verdaccio -c verdaccio.yml",
"local-publish": "pnpm -r run local-publish",
"publish": "pnpm -r publish"
"do-publish": "pnpm -r publish"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
Expand Down

0 comments on commit 4db0522

Please sign in to comment.