[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
@@ -13,7 +13,7 @@ val default = configurations.getByName(Dependency.DEFAULT_CONFIGURATION)
default.extendsFrom(configurations.publishedRuntime.get())
node {
version.set("16.2.0")
version.set(nodejsVersion)
download.set(true)
nodeProjectDir.set(projectDir)
}