Skip to content

Commit 7cd38fd

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 7cd38fd

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/ng-renovate.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,18 @@ 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
24-
runs-on: ubuntu-latest
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
29+
runs-on: ${{ matrix.repositories.run_os }}
2530
steps:
2631
# Because the checkout and setup node action is contained in the dev-infra repo, we must
2732
# checkout the repo to be able to run the action we have created. Other repos will skip
@@ -45,4 +50,4 @@ jobs:
4550
RENOVATE_FORK_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
4651
GITHUB_COM_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
4752
RENOVATE_CONFIG_FILE: .github/ng-renovate/runner-config.js
48-
RENOVATE_REPOSITORIES: ${{ matrix.REPOSITORY }}
53+
RENOVATE_REPOSITORIES: ${{ matrix.repositories.name }}

0 commit comments

Comments
 (0)