diff --git a/.github/workflows/publish-npm.yaml b/.github/workflows/publish-npm.yaml index 5e9d3c7..8abf706 100644 --- a/.github/workflows/publish-npm.yaml +++ b/.github/workflows/publish-npm.yaml @@ -19,5 +19,5 @@ jobs: - uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.NPM_TOKEN }} - dry-run: ${{ !startsWith(github.ref, 'refs/tags/') } - package: ./socket.io-serverless \ No newline at end of file + dry-run: ${{ !(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) }} + package: ./socket.io-serverless \ No newline at end of file