diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5763dfa..b28cdb0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,9 +43,10 @@ jobs: - run: DB=postgres npm run test - run: npm run test:cov - - run: bash <(curl -s https://codecov.io/bash) + if: github.event_name == 'push' && matrix.node-version == '20.x' + - run: 'bash <(curl -s https://codecov.io/bash)' - name: Semantic Release - if: github.event_name == 'push' && matrix.node-version == '18.x' + if: github.event_name == 'push' && matrix.node-version == '20.x' uses: cycjimmy/semantic-release-action@v3 env: GH_TOKEN: ${{ secrets.GH_TOKEN }}