ci: run codecov once

This commit is contained in:
Philipp Petzold 2024-05-02 19:47:26 +02:00
parent fd271286d3
commit 037394d09c

View File

@ -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 }}