Skip to content

Commit 76e5842

Browse files
committed
chore(workflow): update corepack to fix CI
1 parent 9485802 commit 76e5842

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

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

2323
- name: Install Pnpm
24-
run: corepack enable
24+
run: |
25+
npm install -g corepack@latest --force
26+
corepack enable
2527
2628
- name: Setup Node.js
2729
uses: actions/setup-node@v4

.github/workflows/test.yml

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

2626
- name: Install Pnpm
27-
run: corepack enable
27+
run: |
28+
npm install -g corepack@latest --force
29+
corepack enable
2830
2931
- name: Setup Node.js
3032
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)