diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index dd98917..fc875d2 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -5,12 +5,13 @@ name: Node.js Package on: push: - tags: - - '*' + branches: + - main workflow_dispatch: jobs: build: + if: startsWith(github.event.head_commit.message, 'release:') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4