diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81bf8396d..0f7b32109 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,10 @@ jobs: node-version: [10.x] steps: + - name: Check if tag + run: | + # Bail if this push doesn't include a tag + [[ "$GITHUB_REF" != refs/tags/* ]] && echo "${GITHUB_REF} is not a tag, exiting..." && exit 78 - name: Checkout repo uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }}