diff --git a/scripts/update-linux.sh b/scripts/update-linux.sh index 0eeedab4..a52732c6 100755 --- a/scripts/update-linux.sh +++ b/scripts/update-linux.sh @@ -71,7 +71,8 @@ fi say "Node-Pakete" if [ ! -d node_modules ] || [ package-lock.json -nt node_modules ] || ! git diff --quiet "$before" "$after" -- package.json package-lock.json; then - npm install --no-audit --no-fund + # npm ci: installiert genau nach package-lock.json und verändert sie nicht (npm install schrieb sie je nach npm-Version um) + npm ci --no-audit --no-fund else echo "unverändert." fi