Skip to content

Commit 3df5c4e

Browse files
committed
ci: fix corepack
1 parent 19315fe commit 3df5c4e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ jobs:
6464
os: [ubuntu-latest]
6565
steps:
6666
- uses: actions/checkout@v4
67-
68-
- run: corepack enable
67+
- run: npm i -fg corepack && corepack enable
6968

7069
- uses: actions/setup-node@v4
7170
with:

.github/workflows/nightly-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323

2424
- name: Enable corepack
25-
run: corepack enable
25+
run: npm i -fg corepack && corepack enable
2626

2727
- name: Setup node
2828
uses: actions/setup-node@v4

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919

2020
- name: Enable corepack
21-
run: corepack enable
21+
run: npm i -fg corepack && corepack enable
2222

2323
- name: Setup node.js
2424
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)