Skip to content

Commit d8403f2

Browse files
authored
Merge pull request #9610 from guardian/sndrs/corepack
2 parents e1dc5ef + 3b68340 commit d8403f2

30 files changed

+114
-147567
lines changed

.github/workflows/amp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21+
- run: corepack enable
22+
2123
- uses: actions/setup-node@v3
2224
with:
2325
node-version-file: '.nvmrc'

.github/workflows/ar-chromatic.yml

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

31+
- run: corepack enable
32+
3133
- uses: actions/setup-node@v3
3234
with:
3335
node-version-file: '.nvmrc'

.github/workflows/ar-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26+
- run: corepack enable
27+
2628
# Get the desired version of Node installed
2729
- uses: actions/setup-node@v3
2830
with:

.github/workflows/ar-nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
- run: corepack enable
2223
- uses: actions/setup-node@v3
2324
with:
2425
node-version-file: '.nvmrc'

.github/workflows/ar-pr-deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
- run: corepack enable
1920
- uses: actions/setup-node@v3
2021
with:
2122
node-version-file: '.nvmrc'

.github/workflows/build-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16+
- run: corepack enable
17+
1618
- uses: actions/setup-node@v3
1719
with:
1820
node-version-file: '.nvmrc'

.github/workflows/bundle-analyser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414

15+
- run: corepack enable
16+
1517
- uses: actions/setup-node@v3
1618
with:
1719
node-version-file: '.nvmrc'

.github/workflows/compress.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21+
- run: corepack enable
22+
2123
- uses: actions/setup-node@v3
2224
with:
2325
node-version-file: '.nvmrc'

.github/workflows/container.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- name: Inject slug/short variables
2323
uses: rlespinasse/github-slug-action@v4
2424

25+
- run: corepack enable
26+
2527
- name: Install Node
2628
uses: actions/setup-node@v3
2729
with:

.github/workflows/cypress.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424

25+
- run: corepack enable
26+
2527
- uses: actions/setup-node@v3
2628
with:
2729
node-version-file: '.nvmrc'

.github/workflows/dcr-chromatic.yml

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

31+
- run: corepack enable
32+
3133
- uses: actions/setup-node@v3
3234
with:
3335
node-version-file: '.nvmrc'

.github/workflows/jest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9+
- run: corepack enable
910
- uses: actions/setup-node@v3
1011
with:
1112
node-version-file: '.nvmrc'

.github/workflows/lighthouse.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
steps:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
18+
- run: corepack enable
1819
- uses: actions/setup-node@v3
1920
with:
2021
node-version-file: '.nvmrc'

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9+
- run: corepack enable
910
- uses: actions/setup-node@v3
1011
with:
1112
node-version-file: '.nvmrc'

.github/workflows/playwright.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424

25+
- run: corepack enable
26+
2527
- uses: actions/setup-node@v3
2628
with:
2729
node-version-file: '.nvmrc'

.github/workflows/pr-deployment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19+
- run: corepack enable
20+
1921
- uses: actions/setup-node@v3
2022
with:
2123
node-version-file: .nvmrc

.github/workflows/prettier.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9+
- run: corepack enable
910
- uses: actions/setup-node@v3
1011
with:
1112
node-version-file: '.nvmrc'

.github/workflows/scheduled.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
CAPI_KEY: ${{ secrets.CAPI_KEY }}
4646

47+
- run: corepack enable
48+
4749
# The peer dependencies script relies on `yarn`
4850
- uses: actions/setup-node@v3
4951
with:

.github/workflows/schema-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16+
- run: corepack enable
17+
1618
- uses: actions/setup-node@v3
1719
with:
1820
node-version-file: '.nvmrc'

.github/workflows/stories-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16+
- run: corepack enable
17+
1618
- uses: actions/setup-node@v3
1719
with:
1820
node-version-file: '.nvmrc'

.github/workflows/typescript.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
- run: corepack enable
1415
- uses: actions/setup-node@v3
1516
with:
1617
node-version-file: .nvmrc

0 commit comments

Comments
 (0)