mirror of
https://github.com/actions/setup-node.git
synced 2025-12-17 02:31:38 +08:00
restructure tests
This commit is contained in:
@@ -23,7 +23,7 @@ export default class CanaryBuild extends BaseDistribution {
|
||||
|
||||
return prerelease[0].includes('v8-canary');
|
||||
});
|
||||
|
||||
localVersionPaths.sort(semver.rcompare);
|
||||
const localVersion = this.evaluateVersions(localVersionPaths);
|
||||
if (localVersion) {
|
||||
toolPath = tc.find('node', localVersion, this.nodeInfo.arch);
|
||||
|
||||
Reference in New Issue
Block a user