diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 453209e23f..53ae3658f4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: working-directory: e2e/server - name: Build client - run: npm install && npm run build && npm run specs--compile && npm run start-client-server + run: npm ci && npm run build && npm run specs--compile && npm run start-client-server working-directory: e2e/client - name: Protractor diff --git a/build-tools/src/extensions/install-extensions.js b/build-tools/src/extensions/install-extensions.js index ad7b45bf78..015b7bfdfb 100644 --- a/build-tools/src/extensions/install-extensions.js +++ b/build-tools/src/extensions/install-extensions.js @@ -86,7 +86,7 @@ module.exports = function installExtensions(clientDir) { correctApiDefinitionsPath(extensionRootPath, clientDir); execSync( - `cd ${extensionRootPath} && npm install --no-audit && npm run compile --if-present`, + `cd ${extensionRootPath} && npm ci --no-audit && npm run compile --if-present`, {stdio: 'inherit'} ); diff --git a/tasks/verify-client-api-changes.js b/tasks/verify-client-api-changes.js index 06519a963f..5895c8aebd 100644 --- a/tasks/verify-client-api-changes.js +++ b/tasks/verify-client-api-changes.js @@ -16,7 +16,7 @@ const allExtensions = 'scripts/extensions'; getDirectories(allExtensions).forEach((extensionDir) => { execSync( - `cd ${allExtensions}/${extensionDir} && npm install && npm run compile`, + `cd ${allExtensions}/${extensionDir} && npm ci && npm run compile`, {stdio: 'inherit'} ); }); \ No newline at end of file