Support devEngines
field in package.json
#1255
Labels
feature request
New feature or request to improve the current logic
devEngines
field in package.json
#1255
Description:
devEngines
field is now supported by npm and corepack.If user set
node-version-file: package.json
in yaml,setup-node
action should consult bothengines
anddevEngines
fields, while currently onlyengines
works.Justification:
In monorepo, the root package.json usually have no
engines
field. Moreover, theengines
is for users who install the npm package, while thedevEngines
field is for who developers who develop the npm package. Obviously,devEngines
is more suitable forsetup-node
.Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: