danielpalme / ReportGenerator

ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
https://reportgenerator.io
Apache License 2.0
2.56k stars 279 forks source link

Azure pipeline failure due to dependency on NodeJS version 6 #670

Closed neildavisonwae closed 3 months ago

neildavisonwae commented 3 months ago

Today we are seeing an error before the Azure pipeline runs (Microsoft-hosted, 'windows-latest'):

The pipeline is not valid. Job BuildAndTest: Step 'reportgenerator' references task 'reportgenerator' at version '5.3.0' contains an execution handler that relies on NodeJS version '6' which is restricted by your administrator.

I can't see a current workaround for this issue, is it possible to update the task to use a more recent version of NodeJS?

danielpalme commented 3 months ago

Will have a look in the evening.

danielpalme commented 3 months ago

I update the task definition to support Node 10, 16 and 20. If you test again it should work without issues (may take 15-30 minutes until new version gets available in Azure DevOps).

neildavisonwae commented 3 months ago

That's great, the pipeline is running fine now. Thanks very much for the quick fix!