mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 22:23:47 +00:00
feat(node-version-file): support parsing devEngines
field
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
49933ea528
commit
88483fd687
5 changed files with 80 additions and 19 deletions
11
__tests__/data/package-dev-engines.json
Normal file
11
__tests__/data/package-dev-engines.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"engines": {
|
||||
"node": "^20 || ^22"
|
||||
},
|
||||
"devEngines": {
|
||||
"runtime": {
|
||||
"name": "node",
|
||||
"version": "^20"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue