Skip to content

Commit 53075a2

Browse files
committed
ci: use ubuntu-latest-4core for Angular renovate
Currently, the postinstall `yarn ng-dev misc update-generated-files` is too slow for `angular/angular` which causes Renovate to be slow. This is a tenative fix by using more CPUs.
1 parent aef915f commit 53075a2

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/ng-renovate.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,19 @@ jobs:
1515
renovate:
1616
strategy:
1717
matrix:
18-
REPOSITORY:
19-
- angular/angular
20-
- angular/dev-infra
21-
- angular/components
22-
- angular/angular-cli
23-
- angular/vscode-ng-language-service
18+
repositories:
19+
- name: angular/angular
20+
run_os: ubuntu-latest-4core
21+
- name: angular/dev-infra
22+
run_os: ubuntu-latest
23+
- name: angular/components
24+
run_os: ubuntu-latest
25+
- name: angular/angular-cli
26+
run_os: ubuntu-latest
27+
- name: angular/vscode-ng-language-service
28+
run_os: ubuntu-latest
2429
runs-on: ubuntu-latest
30+
runs-on: ${{ matrix.repositories.run_os }}
2531
steps:
2632
# Because the checkout and setup node action is contained in the dev-infra repo, we must
2733
# checkout the repo to be able to run the action we have created. Other repos will skip
@@ -45,4 +51,4 @@ jobs:
4551
RENOVATE_FORK_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
4652
GITHUB_COM_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
4753
RENOVATE_CONFIG_FILE: .github/ng-renovate/runner-config.js
48-
RENOVATE_REPOSITORIES: ${{ matrix.REPOSITORY }}
54+
RENOVATE_REPOSITORIES: ${{ matrix.repositories.name }}

0 commit comments

Comments
 (0)