Skip to content
Snippets Groups Projects
Commit f5083fe3 authored by murgatroid99's avatar murgatroid99
Browse files

Update npm when building Node artifacts

parent bf109267
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,8 @@ set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm ...@@ -35,6 +35,8 @@ set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm
del /f /q BUILD || rmdir build /s /q del /f /q BUILD || rmdir build /s /q
call npm update -g npm
call npm update || goto :error call npm update || goto :error
mkdir -p %ARTIFACTS_OUT% mkdir -p %ARTIFACTS_OUT%
......
...@@ -34,6 +34,8 @@ source ~/.nvm/nvm.sh ...@@ -34,6 +34,8 @@ source ~/.nvm/nvm.sh
nvm use 4 nvm use 4
set -ex set -ex
npm update -g npm
cd $(dirname $0)/../../.. cd $(dirname $0)/../../..
rm -rf build || true rm -rf build || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment