mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-03 10:53:09 +08:00
Add support for volta.extends
(#921)
* Add support for `volta.extends` * Code review
This commit is contained in:
committed by
GitHub
parent
b39b52d121
commit
d86ebcd40b
5
__tests__/data/package-volta-extends.json
Normal file
5
__tests__/data/package-volta-extends.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"volta": {
|
||||
"extends": "./package-volta.json"
|
||||
}
|
||||
}
|
8
__tests__/data/package-volta.json
Normal file
8
__tests__/data/package-volta.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"engines": {
|
||||
"node": "^14.0.0"
|
||||
},
|
||||
"volta": {
|
||||
"node": "16.0.0"
|
||||
}
|
||||
}
|
@ -1,8 +1,5 @@
|
||||
{
|
||||
"engines": {
|
||||
"node": "^14.0.0"
|
||||
},
|
||||
"volta": {
|
||||
"node": "16.0.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user