Skip to content

Commit

Permalink
Try to fix CI build error.
Browse files Browse the repository at this point in the history
`error:0308010C:digital envelope routines::unsupported`
  • Loading branch information
grokys committed Feb 16, 2023
1 parent a082601 commit cea9d20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nukebuild/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ DotNetTestSettings ApplySetting(DotNetTestSettings c, Configure<DotNetTestSettin
.SetProcessWorkingDirectory(webappDir)
.SetProcessArgumentConfigurator(a => a.Add("--silent")));
NpmTasks.NpmRun(c => c
.SetProcessEnvironmentVariable("NODE_OPTIONS", "--openssl-legacy-provider")
.SetProcessWorkingDirectory(webappDir)
.SetCommand("dist"));
});
Expand Down Expand Up @@ -321,4 +322,4 @@ public static T Apply<T>(this T settings, Configure<T> configurator)
{
return configurator != null ? configurator(settings) : settings;
}
}
}

0 comments on commit cea9d20

Please sign in to comment.