[JS] Define Node.js version in one place and use a single version everywhere

Consequently, it fixes the inability to run some JS related tests on Apple devices with ARM.
This commit is contained in:
Zalim Bashorov
2022-04-21 20:02:10 +02:00
parent 64bcd8c91e
commit 90c867ae1d
7 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ tasks.register("populateNodeModules", Copy) {
}
node {
version = '12.18.0'
version = DependenciesKt.getNodejsVersion(project)
download = true
}
@@ -90,4 +90,4 @@ tasks.check {
['Jest', 'Jasmine', 'Mocha', 'Qunit', 'Tape'].each {
dependsOn createFrameworkTest(it)
}
}
}