diff --git a/Jenkinsfile b/Jenkinsfile index 4cf8bfbe3..3a164b71e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -169,7 +169,7 @@ void applyCustomizations() { libName = 'node' bumpVersion = { isDevRelease -> // Get the dependencies - sh 'npm install' + sh 'npm ci' // Update to the next patch version sh "npm version ${isDevRelease ? '--no-git-tag-version' : '-m "Update version -> %s"'} patch" // Set env variable version from package.json @@ -184,7 +184,7 @@ void applyCustomizations() { } void runTests() { - sh 'npm install' + sh 'npm ci' sh 'npm test' }