diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index bcfd07650..e3c541ef5 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -46,10 +46,12 @@ jobs: npm run test-coverage-ci || echo "Silently ignoring coverage threshold limit..." - name: Install LCOV + if: ${{ hashFiles('./coverage/lcov.info') != '' }} run: | sudo apt-get update && sudo apt-get install --assume-yes lcov - name: Report code coverage + if: ${{ hashFiles('./coverage/lcov.info') != '' }} uses: zgosalvez/github-actions-report-lcov@v3 with: coverage-files: ./coverage/lcov.info