ci: Dry-run publishing to avoid partial publishing (no-changelog) (#7859)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-11-29 12:03:19 +01:00 committed by GitHub
parent 8b99384367
commit dbfd617ace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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