Skip to content

Commit f7ef306

Browse files
alan-agius4josephperrott
authored andcommitted
ci: use corepack in ng-renovate workflow (#2774)
This allow the repos to have different versions of pnpm. Potentially also in different branches PR Close #2774
1 parent 3baae85 commit f7ef306

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ng-renovate.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
# this step.
2929
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
- uses: ./github-actions/npm/checkout-and-setup-node
31-
- run: npm install --global pnpm@9.15.6
32-
shell: bash
31+
- name: Corepack install and enable
32+
run: |
33+
npm install corepack -g
34+
corepack enable
3335
3436
# TODO: Use pnpm/action-setup for pnpm install once pnpm is the packageManager for this repo
3537
- run: yarn --cwd .github/ng-renovate install --immutable

0 commit comments

Comments
 (0)