Skip to content

Commit

Permalink
Remove --dry-run from release action
Browse files Browse the repository at this point in the history
  • Loading branch information
kmjennison committed Aug 29, 2021
1 parent afda43e commit 84cebb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
# The ref will be the tag name. Match against tags like
# "v1.0.0-canary.0".
if: ${{ contains(github.ref, '-canary.') }}
run: npm publish --tag canary --dry-run
run: npm publish --tag canary
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Release latest version
# Assume non-canary is latest.
if: ${{ !contains(github.ref, '-canary.') }}
run: npm publish --dry-run
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 84cebb7

Please sign in to comment.