Skip to content

Commit 6e9578f

Browse files
fix: update corepack installation command in workflow files
1 parent 96d1313 commit 6e9578f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/autofix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- run: corepack enable
18+
- run: npm i -g --force corepack && corepack enable
1919
- uses: actions/setup-node@v4
2020
with:
2121
node-version: lts/*

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141

42-
- run: corepack enable
42+
- run: npm i -g --force corepack && corepack enable
4343
- uses: actions/setup-node@v4
4444
with:
4545
node-version: lts/*

.github/workflows/docs-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v4
4444

45-
- run: corepack enable
45+
- run: npm i -g --force corepack && corepack enable
4646
- uses: actions/setup-node@v4
4747
with:
4848
node-version: lts/*

0 commit comments

Comments
 (0)