Skip to content

Commit 5467422

Browse files
committed
build: set include_npm to true
This is needed to run e2e locally.
1 parent 42dcaa2 commit 5467422

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/legacy-cli/e2e.bzl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,12 @@ def _e2e_tests(name, runner, toolchain, **kwargs):
129129
tags = tags,
130130
toolchains = toolchains,
131131
node_toolchain = toolchain,
132-
include_npm = True,
132+
include_npm = select({
133+
# For Windows testing mode, we use the real global NPM as otherwise this
134+
# will be a lot of files that need to be brought from WSL to the host FS.
135+
"@platforms//os:windows": False,
136+
"//conditions:default": True,
137+
}),
133138
**kwargs
134139
)
135140

0 commit comments

Comments
 (0)