#106184Only update node_modules if package-lock.json has changed
Description
Each time running commands like
./Build/Scripts/runTests.sh -s lintHtml
./Build/Scripts/runTests.sh -s lintScss
./Build/Scripts/runTests.sh -s buildCss
./Build/Scripts/runTests.sh -s lintTypescript
./Build/Scripts/runTests.sh -s unitJavascript
./Build/Scripts/runTests.sh -s buildJavascript
./Build/Scripts/runTests.sh -s checkGruntClean
the command npm ci (clean-install) is triggered. This removes all files inside node_modules folder and then all node-modules are newly installed.
The reason for using npm ci is that all package versions are installed like locked in package-lock.json.
Where-as npm install might do minor-version package updates.
Running npm ci takes unnecessary time itself and additionally recreating the node_modules folder triggers IDE indexing actions.