Skip to content

Commit f7a198a

Browse files
committed
fix: use corepack instead of pnpm/action-setup in GitHub Actions
1 parent 5e0fca4 commit f7a198a

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
node-version: "24"
2222
cache: "pnpm"
2323

24-
- name: Install pnpm
25-
uses: pnpm/action-setup@v4
26-
with:
27-
version: 10.25.0
24+
- name: Enable corepack
25+
run: corepack enable
26+
27+
- name: Verify pnpm installation
28+
run: pnpm --version
2829

2930
- name: Install dependencies
3031
run: pnpm install --frozen-lockfile

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ jobs:
2323
node-version: "24"
2424
cache: "pnpm"
2525

26-
- name: Install pnpm
27-
uses: pnpm/action-setup@v4
28-
with:
29-
version: 10.25.0
26+
- name: Enable corepack
27+
run: corepack enable
28+
29+
- name: Verify pnpm installation
30+
run: pnpm --version
3031

3132
- name: Install dependencies
3233
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)