Skip to content

Commit bcdadee

Browse files
committed
Fix GitHub Actions pnpm setup
1 parent c6cefc6 commit bcdadee

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,18 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18+
- name: Set up pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 11.5.1
22+
run_install: false
23+
1824
- name: Set up Node
1925
uses: actions/setup-node@v4
2026
with:
2127
node-version: "24"
2228
cache: pnpm
2329

24-
- name: Enable pnpm
25-
run: corepack enable pnpm
26-
2730
- name: Set up Python
2831
uses: actions/setup-python@v5
2932
with:

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,18 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v4
3333

34+
- name: Set up pnpm
35+
uses: pnpm/action-setup@v4
36+
with:
37+
version: 11.5.1
38+
run_install: false
39+
3440
- name: Set up Node
3541
uses: actions/setup-node@v4
3642
with:
3743
node-version: "24"
3844
cache: pnpm
3945

40-
- name: Enable pnpm
41-
run: corepack enable pnpm
42-
4346
- name: Install dependencies
4447
run: pnpm install --frozen-lockfile
4548

0 commit comments

Comments
 (0)