Skip to content

Commit

Permalink
use npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis committed Apr 17, 2023
1 parent 9ee9729 commit 95bafe8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build-tools/src/extensions/install-extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
);

Expand Down
2 changes: 1 addition & 1 deletion tasks/verify-client-api-changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
);
});

0 comments on commit 95bafe8

Please sign in to comment.