Skip to content

Commit 6dec5db

Browse files
committed
fix(ci): switch to corepack for pnpm setup and activation
1 parent 01e434d commit 6dec5db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
node-version: ${{ matrix.node }}
2626
cache: pnpm
2727

28-
- name: Setup pnpm
29-
uses: pnpm/action-setup@v2
30-
with:
31-
version: 10.18.1
28+
- name: Enable corepack (provides pnpm)
29+
run: corepack enable
30+
31+
- name: Prepare pnpm
32+
run: corepack prepare [email protected] --activate
3233

3334
- name: Install dependencies
3435
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)