Skip to content

Commit

Permalink
Try to fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
UX3D-haertl committed Sep 2, 2024
1 parent ea62b01 commit d8ee3d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Publish_to_NPM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- run: npm version ${{ github.event.release.tag_name }} --git-tag-version=false

- name: Test publishing to NPM
if: ${{ github.event.action }} == 'prereleased'
if: "github.event.release.prerelease"
run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to NPM
if: ${{ github.event.action }} == 'released'
if: "!github.event.release.prerelease"
run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit d8ee3d4

Please sign in to comment.