mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 01:08:28 +02:00
Add npm ci to plugin builds
This commit is contained in:
@@ -13,6 +13,7 @@ async function main() {
|
|||||||
const pkg = JSON.parse(readFileSync(path.join(pluginDir, 'package.json'), 'utf8'));
|
const pkg = JSON.parse(readFileSync(path.join(pluginDir, 'package.json'), 'utf8'));
|
||||||
|
|
||||||
console.log('Building plugin', pkg.name, pluginDir);
|
console.log('Building plugin', pkg.name, pluginDir);
|
||||||
|
execSync(`npm ci`, {cwd: pluginDir});
|
||||||
execSync(`npm run build`, {cwd: pluginDir});
|
execSync(`npm run build`, {cwd: pluginDir});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user