diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 8636512..d80a454 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -31,7 +31,10 @@ jobs: - run: npm audit --audit-level=critical - run: npm run test:ci - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + fail_ci_if_error: true + - run: npm run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d52e827..a3bb164 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,9 +34,11 @@ jobs: - run: npm audit --audit-level=critical - run: npm run test:ci - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + fail_ci_if_error: true - name: build 🔧 run: npm run build - name: Generate changelog