From 0bdee00ca299c7bdb2ec0deb0a6afe7ba2a3af54 Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Fri, 28 Jul 2023 14:40:26 +0200 Subject: [PATCH] [Wasm] Use Node.js with "canary" v8 (11.7.310.0) in tests There are no other non-canary Node.js versions using fresh enough v8. --- .../resources/testProject/new-mpp-wasm-test/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-wasm-test/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-wasm-test/build.gradle.kts index 88ad74e8da5..05794cbcbae 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-wasm-test/build.gradle.kts +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-wasm-test/build.gradle.kts @@ -8,7 +8,9 @@ repositories { } with(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin.apply(rootProject)) { - nodeVersion = "20.2.0" + // canary nodejs that supports recent Wasm GC changes + nodeVersion = "21.0.0-v8-canary202307189734ce28be" + nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary" } with(org.jetbrains.kotlin.gradle.targets.js.d8.D8RootPlugin.apply(rootProject)) {