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
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ jobs:

- name: Test
run: npm test

- name: Version (dry-run)
if: ${{ inputs.dryRun }}
run: npm version --no-git-tag-version "${{ inputs.version }}"
Comment thread
wmluke marked this conversation as resolved.
- name: Version
run: npm version ${{ inputs.version }}

if: ${{ ! inputs.dryRun }}
run: npm version "${{ inputs.version }}"
- name: Publish (dry-run)
if: ${{ inputs.dryRun }}
run: npm publish --provenance --access public --dry-run
- name: Publish
if: ${{ ! inputs.dryRun }}
run: npm publish --provenance --access public