From 7cd38fdd5a0ef1c6200236b5a1ff6122b6fba2ef Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Mon, 19 May 2025 10:19:00 +0000 Subject: [PATCH] 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. --- .github/workflows/ng-renovate.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ng-renovate.yml b/.github/workflows/ng-renovate.yml index b9f8d10b9..017b44bac 100644 --- a/.github/workflows/ng-renovate.yml +++ b/.github/workflows/ng-renovate.yml @@ -15,13 +15,18 @@ jobs: renovate: strategy: matrix: - REPOSITORY: - - angular/angular - - angular/dev-infra - - angular/components - - angular/angular-cli - - angular/vscode-ng-language-service - runs-on: ubuntu-latest + repositories: + - name: angular/angular + run_os: ubuntu-latest-4core + - name: angular/dev-infra + run_os: ubuntu-latest + - name: angular/components + run_os: ubuntu-latest + - name: angular/angular-cli + run_os: ubuntu-latest + - name: angular/vscode-ng-language-service + run_os: ubuntu-latest + runs-on: ${{ matrix.repositories.run_os }} steps: # Because the checkout and setup node action is contained in the dev-infra repo, we must # checkout the repo to be able to run the action we have created. Other repos will skip @@ -45,4 +50,4 @@ jobs: RENOVATE_FORK_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }} GITHUB_COM_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }} RENOVATE_CONFIG_FILE: .github/ng-renovate/runner-config.js - RENOVATE_REPOSITORIES: ${{ matrix.REPOSITORY }} + RENOVATE_REPOSITORIES: ${{ matrix.repositories.name }}