diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 0523280..51cc071 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -51,11 +51,11 @@ jobs: - run: npm test release: needs: [build, test] + if: github.ref == 'refs/heads/main' && success() runs-on: ubuntu-latest strategy: matrix: node-version: ['lts/*'] - if: github.ref == 'refs/heads/main' && ${{ success() }} steps: - name: Checkout uses: actions/checkout@v3