Skip to content

Commit

Permalink
Fix to run wasm test tasks in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xxfast committed Mar 16, 2024
1 parent 5c86d1c commit 2ff1473
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension

plugins {
id("org.jetbrains.kotlinx.kover") version "0.6.1"
Expand Down Expand Up @@ -109,4 +110,12 @@ koverMerged {
enable()
}

// TODO: https://youtrack.jetbrains.com/issue/KT-63014/Running-tests-with-wasmJs-in-1.9.20-requires-Chrome-Canary#focus=Comments-27-8321383.0-0
rootProject.the<NodeJsRootExtension>().apply {
nodeVersion = "21.0.0-v8-canary202309143a48826a08"
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
}

tasks.withType<org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask>().configureEach {
args.add("--ignore-engines")
}

0 comments on commit 2ff1473

Please sign in to comment.