Below is snippet from our CI pipeline.
- name: Coverage Report
uses: romeovs/lcov-reporter-action@v0.4.0
with:
lcov-file: ./coverage/coverage_with_exclusion.info
title: 'Code Coverage Report'
Our tag pipeline started failing with version 0.4.0 with below error
Run romeovs/lcov-reporter-action@v0.4.0
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.join (node:path:1175:7)
at createHref (/home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:22801:19)
at filename (/home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:22895:27)
at toRow (/home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:22885:6)
at /home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:22833:33
at Array.map (<anonymous>)
at /home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:22833:[21](https://github.com/easyjet-dev/da-mobile-app/actions/runs/10901252834/job/30250722067#step:7:22)
at Array.reduce (<anonymous>)
at tabulate (/home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:[22](https://github.com/easyjet-dev/da-mobile-app/actions/runs/10901252834/job/30250722067#step:7:23)829:4)
at comment (/home/runner/work/_actions/romeovs/lcov-reporter-action/v0.4.0/dist/main.js:22984:4) {
code: 'ERR_INVALID_ARG_TYPE'
It used to work fine in version 0.3.1 however we had to upgrade it due to GitHub going to force
test / Unit testThe following actions uses node12 which is deprecated and will be forced to run on node16: romeovs/lcov-reporter-action@v0.3.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/Show less
Below is snippet from our CI pipeline.
Our tag pipeline started failing with version 0.4.0 with below error
It used to work fine in version 0.3.1 however we had to upgrade it due to GitHub going to force
test / Unit testThe following actions uses node12 which is deprecated and will be forced to run on node16: romeovs/lcov-reporter-action@v0.3.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/Show less