tools: add --error-on-warn configure flag in test-shared.yml

Given that this workflow compiles V8 and other libs separately, that
would allow us to detect any Node.js-specific warning that needs to be
addressed.

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66751
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
Antoine du Hamel authored and GitHub committed 2026-10-22 10:18:19 +02:00
1 parent fd20448111
commit a232998e0d
1 file changed
+5
+5
View File
@@ -9,6 +9,10 @@ args@{
loadJSBuiltinsDynamically = false;
devTools = [ ];
benchmarkTools = [ ];
extraConfigFlags = [
"--debug-node"
"--error-on-warn"
];
}
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (
# Disable optional features on Darwin for coverage and faster CI.
@@ -20,6 +24,7 @@ args@{
// {
withSSL = true; # no-SSL coverage is ensured by Jenkins
extraConfigFlags = [
"--error-on-warn"
"--without-inspector"
"--without-node-options"
];