ci: do not update shared dev-infra package in components-repo-unit-tests job (#42268)

The shared dev-infra package from `HEAD` should not be installed
when running the `components-repo-unit-tests` job. This is done
because otherwise changes to the dev-infra package can result in
build setup issues for the CI job (while the goal of the CI job
is to test the framework)

PR Close #42268
This commit is contained in:
Paul Gschwendtner
2021-05-24 17:07:07 +02:00
committed by Jessica Janiuk
parent a16f82b851
commit 57865b352a
3 changed files with 6 additions and 5 deletions
@@ -29,8 +29,9 @@ const updated = [];
const skipped = [];
function updateDeps(dependencies) {
for (const packageName of Object.keys(dependencies)) {
// We're only interested to update packages in the @angular scope
if (!packageName.startsWith('@angular/')) {
// We're only interested to update packages in the `@angular` scope. The shared dev-infra
// package is not updated as it's not a package that is part of the Angular framework.
if (!packageName.startsWith('@angular/') || packageName === '@angular/dev-infra-private') {
continue;
}