mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
build: install dependencies at once (#11647)
This commit is contained in:
parent
93fb2f4ea4
commit
8f886a0998
@ -4,14 +4,13 @@
|
|||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {execSync} from 'child_process';
|
import {execSync} from 'node:child_process';
|
||||||
|
|
||||||
import {AngularProjectMulti, AngularProjectSingle} from './projects.mjs';
|
import {AngularProjectMulti, AngularProjectSingle} from './projects.mjs';
|
||||||
|
|
||||||
if (process.env.CI) {
|
if (process.env.CI) {
|
||||||
// Need to install in CI
|
// Need to install in CI
|
||||||
execSync('npm install -g @angular/cli@latest');
|
execSync('npm install -g @angular/cli@latest @angular-devkit/schematics-cli');
|
||||||
execSync('npm install -g @angular-devkit/schematics-cli');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const single = new AngularProjectSingle();
|
const single = new AngularProjectSingle();
|
||||||
|
Loading…
Reference in New Issue
Block a user