Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit f22c4aa

Browse files
committed
node workaround is still necessary for building frontend in github actions
1 parent 4b12fad commit f22c4aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frontend/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,8 @@ dependencies {
8383
implementation(devNpm("file-loader", "6.2.0"))
8484
implementation(devNpm("@babel/core", "7.12.9"))
8585
}
86+
87+
// without this, node will fail to execute in the Build Container
88+
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class.java) {
89+
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().download = false
90+
}

0 commit comments

Comments
 (0)