Skip to content

Commit

Permalink
Make git-update use npm ci; much faster
Browse files Browse the repository at this point in the history
Change-Id: Ia8cceed7cb45884646436f8fbdd44021ca2f80a9
  • Loading branch information
jdforrester authored and jenkins-bot committed Apr 25, 2021
1 parent 5218363 commit 82bee3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppet/modules/service/manifests/gitupdate.pp
Expand Up @@ -97,7 +97,7 @@
# discern the update command to use
$up_cmd = $type ? {
'php' => 'composer update --no-interaction --optimize-autoloader',
'nodejs' => 'sudo rm -rf node_modules && npm install --no-bin-links',
'nodejs' => 'npm ci --no-bin-links',
'python' => "${real_virtualenv_dir}/bin/pip install -Ue .",
default => 'invalid'
}
Expand Down

0 comments on commit 82bee3d

Please sign in to comment.