You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatic discovery of version matching package.json engines #467
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.
Hello everyone. We released a new version with support for engines.node. You can try to specify package.json for node-version-file input to grad version from engines.node.
Hello everyone. I'm going to close the issue because we're not planing to enable it by default for now. The action supports getting version from different sources and it can be confusing to enable one of them by default for now.
Activity
panticmilos commentedon Apr 18, 2022
Hi @ad-m-ss,
We will investigate the possibility of adding this feature.
The-Code-Monkey commentedon Apr 19, 2022
++ this is exactly what i was looking for having the ability to say node-version: package would be a good solution i think.
dominykas commentedon Apr 19, 2022
There is something like this implemented in https://github.com/pkgjs/action
dmitry-shibanov commentedon Oct 3, 2022
Hello everyone. We released a new version with support for engines.node. You can try to specify package.json for
node-version-fileinput to grad version fromengines.node.xrl commentedon Dec 7, 2022
@dmitry-shibanov it worked for me! Thanks!
dmitry-shibanov commentedon Jan 23, 2023
Hello everyone. I'm going to close the issue because we're not planing to enable it by default for now. The action supports getting version from different sources and it can be confusing to enable one of them by default for now.
document use of package.json for node-version-file
docs(README): add how to auto-detect deleted files (actions#468)