chore(scripts): using npm ci

This commit is contained in:
Manu Mtz.-Almeida
2018-04-05 15:41:20 +02:00
parent 2215c6aaa1
commit ddf2f2220d

View File

@ -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 });
} }
} }
]; ];