Newbie question

Hi,

Setup my server and all works well but I am trying to run my node unit tests in jest-junit format

1/ If I use dorny/test-reporter@v2 with the artifact parameter it fails with

2025-04-11T04:12:33.5960914Z Check runs will be created with SHA=fb6836dcfd78116edbaf5704f64e7c5d3ad28c74
2025-04-11T04:12:33.5978773Z ::group::Fetching list of tracked files from GitHub
2025-04-11T04:12:33.6884242Z ::endgroup::
2025-04-11T04:12:33.6885110Z ::error::TypeError: Cannot read properties of undefined (reading 'sha')

I am assuming that any call to github API will fail? is that correct

2/ If I remove the artifact keyword then the expected report is produced. However it is not readable in the browser (see attached)

I just want to run unit tests using npm and see the results inline and then add the report to an artifact

Lastly and not a question, looking at how to build an action for fun but I image running unit tests and code coverage has already been done lots of times

Thanks all