Skip to content

Commit

Permalink
ci: Dry-run publishing to avoid partial publishing (no-changelog) (#7859
Browse files Browse the repository at this point in the history
)
  • Loading branch information
netroy authored Nov 29, 2023
1 parent 8b99384 commit dbfd617
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Build
run: pnpm build

- name: Dry-run publishing
run: pnpm publish -r --no-git-checks --dry-run

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
Expand Down

0 comments on commit dbfd617

Please sign in to comment.