diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 6bdfb8c4..7c0f0ec9 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -4,17 +4,15 @@ name: Publish on: - push: - tags: - - '**' - - '*' + release: + types: [created] jobs: publish-npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: 16 registry-url: https://registry.npmjs.org/