Skip to content

Commit 11a376f

Browse files
committed
apply workaround from actions/setup-node#531
1 parent 5d8abce commit 11a376f

6 files changed

+39
-39
lines changed

.github/workflows/check-create-redwood-app.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Enable Corepack
21+
run: corepack enable
22+
2023
- uses: actions/setup-node@v4
2124
with:
2225
node-version: 18
2326

24-
- name: Enable Corepack
25-
run: corepack enable
26-
2727
- run: yarn install
2828
working-directory: ./.github/actions/check_create_redwood_app
2929

.github/workflows/check-test-project-fixture.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Enable Corepack
21+
run: corepack enable
22+
2023
- uses: actions/setup-node@v4
2124
with:
2225
node-version: 18
2326

24-
- name: Enable Corepack
25-
run: corepack enable
26-
2727
- run: yarn install
2828
working-directory: ./.github/actions/check_test_project_fixture
2929

.github/workflows/ci.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31+
- name: Enable Corepack
32+
run: corepack enable
33+
3134
- name: ⬢ Set up Node.js
3235
uses: actions/setup-node@v4
3336
with:
3437
node-version: 18
3538

36-
- name: Enable Corepack
37-
run: corepack enable
38-
3939
- name: 🐈 Yarn install
4040
working-directory: ./.github/actions/detect-changes
4141
run: yarn install --inline-builds
@@ -56,14 +56,14 @@ jobs:
5656
steps:
5757
- uses: actions/checkout@v4
5858

59+
- name: Enable Corepack
60+
run: corepack enable
61+
5962
- name: ⬢ Set up Node.js
6063
uses: actions/setup-node@v4
6164
with:
6265
node-version: 18
6366

64-
- name: Enable Corepack
65-
run: corepack enable
66-
6767
- name: 🐈 Yarn install
6868
working-directory: ./tasks/check
6969
run: yarn install --inline-builds
@@ -100,14 +100,14 @@ jobs:
100100

101101
- uses: actions/checkout@v4
102102

103+
- name: Enable Corepack
104+
run: corepack enable
105+
103106
- name: ⬢ Set up Node.js
104107
uses: actions/setup-node@v4
105108
with:
106109
node-version: 18
107110

108-
- name: Enable Corepack
109-
run: corepack enable
110-
111111
- name: 🐈 Set up yarn cache
112112
uses: ./.github/actions/set-up-yarn-cache
113113

@@ -160,14 +160,14 @@ jobs:
160160
steps:
161161
- uses: actions/checkout@v4
162162

163+
- name: Enable Corepack
164+
run: corepack enable
165+
163166
- name: ⬢ Set up Node.js
164167
uses: actions/setup-node@v4
165168
with:
166169
node-version: 18
167170

168-
- name: Enable Corepack
169-
run: corepack enable
170-
171171
- name: 🐈 Set up yarn cache
172172
uses: ./.github/actions/set-up-yarn-cache
173173

@@ -256,14 +256,14 @@ jobs:
256256
steps:
257257
- uses: actions/checkout@v4
258258

259+
- name: Enable Corepack
260+
run: corepack enable
261+
259262
- name: ⬢ Set up Node.js
260263
uses: actions/setup-node@v4
261264
with:
262265
node-version: 18
263266

264-
- name: Enable Corepack
265-
run: corepack enable
266-
267267
- name: 🐈 Set up yarn cache
268268
uses: ./.github/actions/set-up-yarn-cache
269269

@@ -462,14 +462,14 @@ jobs:
462462
steps:
463463
- uses: actions/checkout@v4
464464

465+
- name: Enable Corepack
466+
run: corepack enable
467+
465468
- name: ⬢ Set up Node.js
466469
uses: actions/setup-node@v4
467470
with:
468471
node-version: 18
469472

470-
- name: Enable Corepack
471-
run: corepack enable
472-
473473
- name: 🐈 Set up yarn cache
474474
uses: ./.github/actions/set-up-yarn-cache
475475

@@ -521,14 +521,14 @@ jobs:
521521
steps:
522522
- uses: actions/checkout@v4
523523

524+
- name: Enable Corepack
525+
run: corepack enable
526+
524527
- name: ⬢ Set up Node.js
525528
uses: actions/setup-node@v4
526529
with:
527530
node-version: 18
528531

529-
- name: Enable Corepack
530-
run: corepack enable
531-
532532
- name: 🐈 Set up yarn cache
533533
uses: ./.github/actions/set-up-yarn-cache
534534

@@ -618,14 +618,14 @@ jobs:
618618
steps:
619619
- uses: actions/checkout@v4
620620

621+
- name: Enable Corepack
622+
run: corepack enable
623+
621624
- name: ⬢ Set up Node.js
622625
uses: actions/setup-node@v4
623626
with:
624627
node-version: 18
625628

626-
- name: Enable Corepack
627-
run: corepack enable
628-
629629
- name: 🐈 Set up yarn cache
630630
uses: ./.github/actions/set-up-yarn-cache
631631

.github/workflows/publish-canary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030

31+
- name: Enable Corepack
32+
run: corepack enable
33+
3134
- name: ⬢ Set up Node.js
3235
uses: actions/setup-node@v4
3336
with:
3437
node-version: 18
3538

36-
- name: Enable Corepack
37-
run: corepack enable
38-
3939
- name: 🐈 Set up yarn cache
4040
uses: ./.github/actions/set-up-yarn-cache
4141

.github/workflows/publish-release-candidate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ jobs:
6262
# This is required because lerna uses tags to determine the version.
6363
fetch-depth: 0
6464

65+
- name: Enable Corepack
66+
run: corepack enable
67+
6568
- name: ⬢ Set up Node.js
6669
uses: actions/setup-node@v4
6770
with:
6871
node-version: 18
6972

70-
- name: Enable Corepack
71-
run: corepack enable
72-
7373
- name: 🐈 Set up yarn cache
7474
uses: ./.github/actions/set-up-yarn-cache
7575

.github/workflows/update-all-contributors.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
with:
2323
token: ${{ secrets.JTOAR_TOKEN }}
2424

25+
- name: Enable Corepack
26+
run: corepack enable
27+
2528
- uses: actions/setup-node@v4
2629
with:
2730
node-version: 18
2831

29-
- name: Enable Corepack
30-
run: corepack enable
31-
3232
- run: yarn install
3333

3434
- name: Update all contributors

0 commit comments

Comments
 (0)