Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
# `npm publish --dry-run` still asks the registry whether the version exists,
# so it cannot rehearse an already-published tag; `npm pack` never contacts it.
- name: Pack only (dry run)
if: ${{ inputs.dry_run }}
run: npm publish --dry-run --access public
run: npm pack --dry-run
- name: Publish to npm
if: ${{ !inputs.dry_run }}
run: npm publish --provenance --access public
Loading