Warning: Using Node.js version 16 to execute analysis is deprecated

Hello
we are seeing this warning in one of maven project,
Warning: Using Node.js version 16 to execute analysis is deprecated and will stop being supported no earlier than Nov 30th, 2023. Please upgrade to a newer LTS version of Node.js [18, 20]
the problem is it is a maven project and we have upgraded to java 17 in the analysis environment:


could you please let me know why i see this warning in a java project and how to upgrade to nodeJS 18 in analysis environment if it is needed.

Thank you

Hey there.

NodeJS is used for the analysis of a couple file types, specifically JavaScript, TypeScript, or CSS. Maybe these files are floating around your project somewhere?

In any case, I have two questions:

  • This is GitHub actions, correct? Are you using a self-hosted runner, and if not which image are you using (runs-on)
  • What’s the output of node -v in the context of your build?