From a366fa66b524682b75de8a255a94b0fb860976dc Mon Sep 17 00:00:00 2001 From: Wang Guan Date: Sat, 14 Dec 2024 21:51:23 +0900 Subject: [PATCH] fix --- .github/workflows/publish-npm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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