Skip to content

Commit 8376fb3

Browse files
committed
fix: use corepack to install pnpm
1 parent e7b6464 commit 8376fb3

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/sync-authors-on-pr.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
node-version: '22.18.0'
2929
cache: 'pnpm'
3030

31-
- name: Setup PNPM
32-
uses: pnpm/action-setup@v4
33-
with:
34-
version: 10.11.0
31+
- name: Setup pnpm via corepack
32+
run: |
33+
corepack enable
34+
corepack prepare pnpm@10.11.0 --activate
35+
pnpm -v
3536
3637
- name: Install deps
3738
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)