mirror of https://github.com/grpc/grpc-node.git
Upgrade npm versions for every version of node in test scripts
This commit is contained in:
parent
2cc053ef8f
commit
cb82bc7b12
|
@ -31,6 +31,7 @@ call npm install || goto :error
|
|||
for %%v in (4.8.4 6.11.3 7.9.0 8.5.0) do (
|
||||
nvm install %%v
|
||||
nvm use %%v
|
||||
npm install -g npm
|
||||
node -e "console.log(process.versions)"
|
||||
|
||||
call .\node_modules\.bin\gulp clean.all || goto :error
|
||||
|
|
|
@ -48,6 +48,7 @@ do
|
|||
echo "Switching to node version $version"
|
||||
nvm install $version
|
||||
nvm use $version
|
||||
npm install -g npm
|
||||
set -ex
|
||||
|
||||
mkdir -p "reports/node$version"
|
||||
|
|
Loading…
Reference in New Issue