Skip to content

Runtime of ng new on a GitHub CI Ubuntu machine increases from 2min to 41min #33148

@JLHwung

Description

@JLHwung

Command

new

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

21.2.9

Description

Compared with @angular/cli@21.2.9, Babel's angular-cli e2e test, now runing @angular/cli@21.2.10, has increased from 2 min to 41 min. I think one of the bottleneck is yarn playwright install --with-deps which invokes apt and pulls many Ubuntu dependencies.

Currently Babel e2e test runs npx -p @angular/cli ng new --defaults ngx --package-manager yarn --skip-git --skip-install, are there an option to instruct @angular/cli to completely skip the playwright install?

Minimal Reproduction

Run npx -p @angular/cli ng new --defaults ngx --package-manager yarn --skip-git --skip-install on a GitHub CI Ubuntu machine

Exception or Error

N.A. But the task takes way longer than normal expected.

Your Environment

Version: 21.2.10

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions