use npm-cache if installed

pull/6/head
Keivan Beigi 9 years ago
parent 4c5707bba8
commit 0fcd20ec4a

@ -102,7 +102,7 @@ Build()
RunGulp()
{
echo "##teamcity[progressStart 'npm install']"
CheckExitCode npm install
npm-cache install npm || CheckExitCode npm install
echo "##teamcity[progressFinish 'npm install']"
echo "##teamcity[progressStart 'Running Gulp']"

Loading…
Cancel
Save