mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
28 lines
500 B
JavaScript
28 lines
500 B
JavaScript
import {execSync} from 'child_process';
|
|
|
|
import {runNgSchematicsSandbox} from './sandbox.mjs';
|
|
|
|
if (process.env.CI) {
|
|
execSync('npm install -g @angular/cli@latest');
|
|
execSync('npm install -g @angular-devkit/schematics-cli');
|
|
}
|
|
|
|
await Promise.all([
|
|
runNgSchematicsSandbox({
|
|
isInit: true,
|
|
}),
|
|
runNgSchematicsSandbox({
|
|
isInit: true,
|
|
isMulti: true,
|
|
}),
|
|
]);
|
|
|
|
await runNgSchematicsSandbox({
|
|
isSmoke: true,
|
|
});
|
|
|
|
await runNgSchematicsSandbox({
|
|
isMulti: true,
|
|
isSmoke: true,
|
|
});
|