From cea9d20b4d3ab24aca204a34865c86166c6c1f6e Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Thu, 16 Feb 2023 11:20:22 +0100 Subject: [PATCH] Try to fix CI build error. `error:0308010C:digital envelope routines::unsupported` --- nukebuild/Build.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nukebuild/Build.cs b/nukebuild/Build.cs index 0988fa8ea45..44d16a8d3a1 100644 --- a/nukebuild/Build.cs +++ b/nukebuild/Build.cs @@ -119,6 +119,7 @@ DotNetTestSettings ApplySetting(DotNetTestSettings c, Configure a.Add("--silent"))); NpmTasks.NpmRun(c => c + .SetProcessEnvironmentVariable("NODE_OPTIONS", "--openssl-legacy-provider") .SetProcessWorkingDirectory(webappDir) .SetCommand("dist")); }); @@ -321,4 +322,4 @@ public static T Apply(this T settings, Configure configurator) { return configurator != null ? configurator(settings) : settings; } -} \ No newline at end of file +}