Merge pull request #11373 from murgatroid99/node_8_artifact_improvements

Update npm when building Node artifacts
pull/11404/head
Michael Lumish 8 years ago committed by GitHub
commit 67b0ac55b2
  1. 2
      tools/run_tests/artifacts/build_artifact_node.bat
  2. 2
      tools/run_tests/artifacts/build_artifact_node.sh

@ -35,6 +35,8 @@ set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm
del /f /q BUILD || rmdir build /s /q
call npm update -g npm
call npm update || goto :error
mkdir -p %ARTIFACTS_OUT%

@ -34,6 +34,8 @@ source ~/.nvm/nvm.sh
nvm use 4
set -ex
npm update -g npm
cd $(dirname $0)/../../..
rm -rf build || true

Loading…
Cancel
Save