restructure tests

This commit is contained in:
Dmitry Shibanov 2022-12-22 00:05:42 +01:00
parent 822a587e93
commit 2723204c59
14 changed files with 1956 additions and 1104 deletions

View file

@ -23,6 +23,7 @@ export default class NightlyNodejs extends BaseDistribution {
return prerelease[0].includes('nightly');
});
localVersionPaths.sort(semver.rcompare);
const localVersion = this.evaluateVersions(localVersionPaths);
if (localVersion) {
toolPath = tc.find('node', localVersion, this.nodeInfo.arch);