diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b16bd7..001d820 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,20 +71,13 @@ jobs: run: npm ci - name: Run tests + if: matrix.node-version != 22 run: npm test -- --coverage - - name: Collect coverage - uses: coverallsapp/github-action@v2 - with: - flag-name: run-${{ join(matrix.*, '-') }} - parallel: true + - name: Run tests with coverage + if: matrix.node-version == 22 + run: npm test -- --coverage - coverage: - name: Publish coverage - needs: test - runs-on: ubuntu-latest - steps: - - name: Publish coverage + - name: Collect coverage + if: matrix.node-version == 22 uses: coverallsapp/github-action@v2 - with: - parallel-finished: true