mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2026-03-20 22:45:55 +03:00
feat(node-version-file): support parsing devEngines field
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
efcb663fc6
commit
29f189388b
5 changed files with 84 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