Skip to content

Commit a603a94

Browse files
committed
Install override deps with 'npm ci', not 'npm install'
This avoids any possible risks with package-locks being changed, and gives us hard guarantees about versions used in CI & releases.
1 parent 9f21312 commit a603a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prepare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const OVERRIDES_DIR = path.join(__dirname, 'overrides');
2828
(async () => {
2929
console.log('Installing override npm dependencies...');
3030

31-
await spawn(process.platform === 'win32' ? 'npm.cmd' : 'npm', ['install', '--production'], {
31+
await spawn(process.platform === 'win32' ? 'npm.cmd' : 'npm', ['ci', '--production'], {
3232
cwd: path.join(OVERRIDES_DIR, 'js'),
3333
stdio: 'inherit'
3434
});

0 commit comments

Comments
 (0)