From e57576d8d16480f2f0d71abf5f45e70c641fb40c Mon Sep 17 00:00:00 2001 From: Benjamin DANIEL Date: Fri, 13 Oct 2023 14:36:40 +0200 Subject: [PATCH] github: Add conditional lcov file generation --- .github/workflows/node.js.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/node.js.yaml b/.github/workflows/node.js.yaml index 4816172..a06f060 100644 --- a/.github/workflows/node.js.yaml +++ b/.github/workflows/node.js.yaml @@ -46,6 +46,7 @@ jobs: - name: Generate lcov file run: yarn nyc report --reporter=text-lcov > coverage.lcov + if: ${{ matrix.node-version == '20.x' }} - name: Push coverage uses: codecov/codecov-action@v3