NPM ci if available (instead of NPM install)
MODIFY
package-scripts.cson
package-scripts.cson
(npm outdated || echo outdated)
&&
- npm install
+ (npm ci || npm install)
&&
npm run prepare:local:common
'

MODIFY
package.json
package.json
"scripts": {
"cson2json": "json -I -f package.json -e \"this.scripts=$(cat package-scripts.cson | cson2json)\" && node readium-build-tools/optimizePackageJsonScripts.js",
"prepare:all": "npm run prepare:local",
- "prepare:local": "(npm outdated || echo outdated) && npm install && npm run prepare:local:common",
+ "prepare:local": "(npm outdated || echo outdated) && (npm ci || npm install) && npm run prepare:local:common",
"prepare:yarn:all": "yarn run prepare:yarn:local",
"prepare:yarn:local": "(yarn outdated || echo outdated) && yarn install && yarn run prepare:local:common",
"prepare:local:common": "node readium-build-tools/gitHubForksUpdater.js",

NPM ci if available (instead of NPM install)