mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 14:13:49 +00:00
test: adjust for array like devEngines
Co-authored-by: Grigory <grigory.orlov.set@gmail.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
88483fd687
commit
25df5cda4f
6 changed files with 61 additions and 24 deletions
17
__tests__/data/package-dev-engines-array.json
Normal file
17
__tests__/data/package-dev-engines-array.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"engines": {
|
||||
"node": "^19"
|
||||
},
|
||||
"devEngines": {
|
||||
"runtime": [
|
||||
{
|
||||
"name": "bun",
|
||||
"version": "^1"
|
||||
},
|
||||
{
|
||||
"name": "node",
|
||||
"version": "^20"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"engines": {
|
||||
"node": "^20 || ^22"
|
||||
"node": "^19"
|
||||
},
|
||||
"devEngines": {
|
||||
"runtime": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue