Use cache for 'npm ci'

[MAILPOET-1837]
This commit is contained in:
Jan Jakeš
2019-02-28 16:32:50 +01:00
committed by M. Shull
parent eef5f47a1a
commit 4c2f187880
3 changed files with 7 additions and 5 deletions

View File

@ -8,7 +8,7 @@ class RoboFile extends \Robo\Tasks {
return $this->taskExecStack()
->stopOnFail()
->exec('./composer.phar install')
->exec('npm ci')
->exec('npm ci --prefer-offline')
->run();
}