Skip to content

Commit 8fba8b1

Browse files
committed
fix: corepack manager use pnpm failed
1 parent 95c21a7 commit 8fba8b1

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
- uses: actions/checkout@v4
1717

1818
- name: Install pnpm
19-
run: corepack enable pnpm
19+
run: |
20+
corepack enable
21+
corepack prepare [email protected] --activate
2022

2123
- uses: actions/setup-node@v4
2224
with:
@@ -35,7 +37,9 @@ jobs:
3537
- uses: actions/checkout@v4
3638

3739
- name: Install pnpm
38-
run: corepack enable pnpm
40+
run: |
41+
corepack enable
42+
corepack prepare [email protected] --activate
3943

4044
- uses: actions/setup-node@v4
4145
with:

.github/workflows/sync-migrate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
- uses: actions/checkout@v4
1919

2020
- name: Install pnpm
21-
run: corepack enable pnpm
21+
run: |
22+
corepack enable
23+
corepack prepare [email protected] --activate
2224

2325
- uses: actions/setup-node@v4
2426
with:

.github/workflows/sync-taro.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
- uses: actions/checkout@v4
1818

1919
- name: Install pnpm
20-
run: corepack enable pnpm
20+
run: |
21+
corepack enable
22+
corepack prepare [email protected] --activate
2123

2224
- uses: actions/setup-node@v4
2325
with:

0 commit comments

Comments
 (0)