diff --git a/.github/workflows/ci-publish.yml b/.github/workflows/ci-publish.yml index 5417fdb5..0223acdb 100644 --- a/.github/workflows/ci-publish.yml +++ b/.github/workflows/ci-publish.yml @@ -1,13 +1,11 @@ name: Publish NPM Package on: - release: - types: - - released + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' jobs: publish: - # check for version in the release tag - example: v1.0.0 - if: contains(github.event.release.tag_name, '^v[0-9]+\.[0-9]+\.[0-9]') runs-on: ubuntu-latest strategy: