[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:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user