BUILD-10889: config-npm to pull npm packages from repox#5558
Conversation
SummaryThis PR adds a single GitHub Actions step to configure npm to pull packages from repox instead of the default registry. The step uses the What reviewers should knowWhat to review:
Context:
No testing visible in the diff — verify that existing CI runs successfully with this new step enabled.
|
2da65d5 to
26cf8f5
Compare
d9b9576 to
f4314b0
Compare
f4314b0 to
e8e7c58
Compare
|
tomasz-tylenda-sonarsource
left a comment
There was a problem hiding this comment.
LGTM. Test run is https://github.com/SonarSource/sonar-java/actions/runs/24197708489 - it generated expected diff files.
There was a problem hiding this comment.
LGTM! ✅
Clean, minimal change. The config-npm step is correctly placed before npx diff2html-cli in the Generate Diff Report step, which is the sole consumer of npm packages in this action. The Windows guard is consistent with the rest of the action (the bash shell step also implicitly targets non-Windows). No issues found.





Part of https://sonarsource.atlassian.net/browse/BUILD-10889.