We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c3435d commit 6e78382Copy full SHA for 6e78382
tools/test-npm.sh
@@ -28,6 +28,9 @@ export npm_config_cache="$(pwd)/npm-cache"
28
export npm_config_prefix="$(pwd)/npm-prefix"
29
export npm_config_tmp="$(pwd)/npm-tmp"
30
31
+# ensure npm always uses the local node
32
+export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
33
+
34
# install npm devDependencies and run npm's tests
35
../$NODE cli.js install --ignore-scripts
36
../$NODE test/run.js
0 commit comments