Open
Description
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 both engines
and devEngines
fields, while currently only engines
works.
Justification:
In monorepo, the root package.json usually have no engines
field. Moreover, the engines
is for users who install the npm package, while the devEngines
field is for who developers who develop the npm package. Obviously, devEngines
is more suitable for setup-node
.
Are you willing to submit a PR?
Yes