Skip to content

Commit ac3989b

Browse files
committed
chore(workflow): update corepack to fix CI
1 parent f7d96c7 commit ac3989b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/main.yml

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

2424
- name: Install Pnpm
25-
run: corepack enable
25+
run: |
26+
npm install -g corepack@latest --force
27+
corepack enable
2628
2729
- name: Setup node
2830
uses: actions/setup-node@v4

.github/workflows/release.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)