Skip to content

Commit 957a723

Browse files
authored
Update publish.yml
1 parent b94a60d commit 957a723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
- run: yarn test
3535

3636
- uses: JS-DevTools/npm-publish@v3
37-
if: "!github.event.release.prerelease"
37+
if: ${{ !github.event.release.prerelease && !steps.version.outputs.prerelease }}
3838
with:
3939
token: ${{ secrets.NPM_TOKEN }}
4040
access: public
41-
dry_run: true
41+
dry-run: true
4242

4343
- name: Upload npm debug log
4444
if: failure() # This step will run only if the previous steps failed

0 commit comments

Comments
 (0)