mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-03 10:53:09 +08:00
Fix test volta priority (#577)
This commit is contained in:
committed by
GitHub
parent
9f3a02bbd1
commit
969bd26639
@ -502,7 +502,7 @@ export function parseNodeVersionFile(contents: string): string {
|
||||
nodeVersion = JSON.parse(contents).volta?.node;
|
||||
if (!nodeVersion) nodeVersion = JSON.parse(contents).engines?.node;
|
||||
} catch {
|
||||
core.warning('Node version file is not JSON file');
|
||||
core.info('Node version file is not JSON file');
|
||||
}
|
||||
|
||||
if (!nodeVersion) {
|
||||
|
Reference in New Issue
Block a user