Skip to content

Commit

Permalink
ci: test pre-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
janvennemann committed Nov 9, 2023
1 parent 852763d commit 837cb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
publish:
runs-on: ubuntu-latest
name: Publish
if: github.event.release.target_commitish == 'next/vite-4'

steps:
- name: Checkout repository
Expand All @@ -29,4 +30,4 @@ jobs:
GH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
RELEASE_TAG: ${{ github.event.release.prerelease && 'next' || 'latest' }}
run: npm publish --tag $RELEASE_TAG
run: npm publish --tag $RELEASE_TAG --dry-run

0 comments on commit 837cb31

Please sign in to comment.