use npm-cache if installed

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

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

Loading…
Cancel
Save