RM-11107: Raise min NodeJS/npm to 18.x/9.x
- We support + recommended NodeJS 18.x since 23Q3
- We support + recommended NodeJS 20.x since 24Q1 (backported to 23Q3.2 and 23Q4.1 even)
- Remove support for oldest NodeJS 16.x as it is past its End Of life already (in Sept 2023)
- Also raise minimum npm version to 9.x
- NodeJS 18.x embedded 9.x since Feb 2023 already
- NodeJS 18.x switched to 10.x since late 2023 already
Mantis issue: https://issues.openbravo.com/view.php?id=54824
try:
- all try-runs done with: --jobs-to-run SIMPLE as we are only checking 'blocks or allows NodeJS/npm' no need to run will i.e. selenium
- OK: run with NodeJS 20 (default): https://builds.openbravo.com/view/try/job/try-init/3410/
- OK- run with NodeJS 18: https://builds.openbravo.com/view/try/job/try-init/3411/
- FAILED: run with NodeJS 16: https://builds.openbravo.com/view/try/job/try-init/3414/
- This run is correct to fail as change is to unsupport NodeJS 16.x
- FAILED: run with NodeJS 18.13.0 (including old npm 8.x) https://builds.openbravo.com/view/try/job/try-init/3416/
- This run is correct to fail with message npm 8.x is not supported
Edited by Stefan Huehner