mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
chore(scripts): using npm ci
This commit is contained in:
@ -167,7 +167,7 @@ function preparePackage(tasks, package, version) {
|
|||||||
title: `${pkg.name}: install npm dependencies`,
|
title: `${pkg.name}: install npm dependencies`,
|
||||||
task: async () => {
|
task: async () => {
|
||||||
await fs.remove(path.join(projectRoot, 'node_modules'))
|
await fs.remove(path.join(projectRoot, 'node_modules'))
|
||||||
await execa('npm', ['install'], { cwd: projectRoot });
|
await execa('npm', ['ci'], { cwd: projectRoot });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user