From 8b2a6c6731825d8714ce3ed849cf8245d75b42a6 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Fri, 9 May 2025 16:49:47 +0000 Subject: [PATCH] ci: use corepack in ng-renovate workflow This allow the repos to have different versions of pnpm. Potentially also in different branches --- .github/workflows/ng-renovate.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ng-renovate.yml b/.github/workflows/ng-renovate.yml index 7b05ad4c7..d74d4b1cb 100644 --- a/.github/workflows/ng-renovate.yml +++ b/.github/workflows/ng-renovate.yml @@ -28,8 +28,10 @@ jobs: # this step. - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: ./github-actions/npm/checkout-and-setup-node - - run: npm install --global pnpm@9.15.6 - shell: bash + - name: Corepack install and enable + run: | + npm install corepack -g + corepack enable # TODO: Use pnpm/action-setup for pnpm install once pnpm is the packageManager for this repo - run: yarn --cwd .github/ng-renovate install --immutable