Closed
Description
Description:
In my organization we pin specific version of Node in package.json via engines.node
.
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#engines
It therefore seems redundant to include such information in the CI.
I would prefer the action to allow - if the appropriate package.json is detected - to look in engines.node in package.json and select the latest NodeJS version that meets the specified version range. This would be complementary to the current versioning mechanism and only have an effect if the version is not specified as an action parameter.
Justification:
DRY
Are you willing to submit a PR?
I would like discuss it first.