diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c3d4cf9..c0dca08 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -4,6 +4,7 @@ on: pull_request: push: branches: [ '*' ] + tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ] jobs: test: @@ -31,7 +32,7 @@ jobs: publish: runs-on: ubuntu-latest needs: [test, lint] - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout uses: actions/checkout@v2