Skip to content

Commit 7242600

Browse files
committed
Replace enabling Corepack with installing it explicitly
1 parent 751012b commit 7242600

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
with:
4848
node-version: '22'
4949

50-
- name: Enable Corepack
51-
run: corepack enable
50+
- name: Install Corepack
51+
run: npm install -g corepack
5252

5353
- name: Install dependencies
5454
run: yarn --immutable
@@ -107,8 +107,8 @@ jobs:
107107
with:
108108
node-version: '22'
109109

110-
- name: Enable Corepack
111-
run: corepack enable
110+
- name: Install Corepack
111+
run: npm install -g corepack
112112

113113
- name: Install dependencies
114114
run: yarn --immutable

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
node-version: '22'
3636
registry-url: 'https://registry.npmjs.org'
3737

38-
- name: Enable Corepack
39-
run: corepack enable
38+
- name: Install Corepack
39+
run: npm install -g corepack
4040

4141
- name: Install dependencies
4242
run: yarn --immutable

0 commit comments

Comments
 (0)