Skip to content

Commit 7172dbe

Browse files
authored
Merge pull request #1280 from CruGlobal/upgrade-to-node-20
MPDX-8572 - Upgrade to Node 20
2 parents 86ee6e3 + 7b106d4 commit 7172dbe

File tree

3,502 files changed

+42314
-41761
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,502 files changed

+42314
-41761
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.yarn/**/*.zip filter=lfs diff=lfs merge=lfs -text

.github/workflows/ci.yml

Lines changed: 66 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,21 @@ jobs:
2020
chunk: [1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8]
2121
fail-fast: false
2222
steps:
23-
- uses: actions/checkout@v3
24-
- uses: actions/setup-node@v3
23+
- uses: actions/checkout@v4
24+
with:
25+
lfs: true
26+
27+
- name: Enable Corepack
28+
run: corepack enable
29+
30+
- uses: actions/setup-node@v4
2531
with:
2632
node-version-file: .tool-versions
33+
- name: Enable Corepack
34+
run: corepack enable
2735
- name: 📦 Install Dependencies
2836
run: yarn install --immutable --immutable-cache
37+
2938
- name: 📈 Run GraphQL Codegen
3039
uses: nick-fields/retry@v3
3140
with:
@@ -44,12 +53,21 @@ jobs:
4453
eslint:
4554
runs-on: ubuntu-latest
4655
steps:
47-
- uses: actions/checkout@v3
48-
- uses: actions/setup-node@v3
56+
- uses: actions/checkout@v4
57+
with:
58+
lfs: true
59+
60+
- name: Enable Corepack
61+
run: corepack enable
62+
63+
- uses: actions/setup-node@v4
4964
with:
5065
node-version-file: .tool-versions
66+
- name: Enable Corepack
67+
run: corepack enable
5168
- name: 📦 Install Dependencies
5269
run: yarn install --immutable --immutable-cache
70+
5371
- name: 📈 Run GraphQL Codegen
5472
uses: nick-fields/retry@v3
5573
with:
@@ -63,12 +81,21 @@ jobs:
6381
typescript:
6482
runs-on: ubuntu-latest
6583
steps:
66-
- uses: actions/checkout@v3
67-
- uses: actions/setup-node@v3
84+
- uses: actions/checkout@v4
85+
with:
86+
lfs: true
87+
88+
- name: Enable Corepack
89+
run: corepack enable
90+
91+
- uses: actions/setup-node@v4
6892
with:
6993
node-version-file: .tool-versions
94+
- name: Enable Corepack
95+
run: corepack enable
7096
- name: 📦 Install Dependencies
7197
run: yarn install --immutable --immutable-cache
98+
7299
- name: 📈 Run GraphQL Codegen
73100
uses: nick-fields/retry@v3
74101
with:
@@ -82,36 +109,44 @@ jobs:
82109
prettier:
83110
runs-on: ubuntu-latest
84111
steps:
85-
- uses: actions/checkout@v3
86-
- uses: actions/setup-node@v3
112+
- uses: actions/checkout@v4
113+
with:
114+
lfs: true
115+
116+
- name: Enable Corepack
117+
run: corepack enable
118+
119+
- uses: actions/setup-node@v4
87120
with:
88121
node-version-file: .tool-versions
122+
- name: Enable Corepack
123+
run: corepack enable
89124
- name: 📦 Install Dependencies
90125
run: yarn install --immutable --immutable-cache
126+
91127
- name: 💅 Prettier Check
92128
run: yarn prettier:check
93129

94-
yarn-check-cache:
95-
runs-on: ubuntu-latest
96-
steps:
97-
- uses: actions/checkout@v3
98-
- uses: actions/setup-node@v3
99-
with:
100-
node-version-file: .tool-versions
101-
- name: 🔍 Check Yarn Cache
102-
run: yarn install --immutable --immutable-cache --check-cache
103-
104130
onesky-upload:
105131
runs-on: ubuntu-latest
106132
needs: [test, eslint, typescript, prettier]
107133
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
108134
steps:
109-
- uses: actions/checkout@v3
110-
- uses: actions/setup-node@v3
135+
- uses: actions/checkout@v4
136+
with:
137+
lfs: true
138+
139+
- name: Enable Corepack
140+
run: corepack enable
141+
142+
- uses: actions/setup-node@v4
111143
with:
112144
node-version-file: .tool-versions
145+
- name: Enable Corepack
146+
run: corepack enable
113147
- name: 📦 Install Dependencies
114148
run: yarn install --immutable --immutable-cache
149+
115150
- name: 🌐 Extract Translations
116151
run: yarn extract
117152
- name: ⛅🔼 OneSky Upload
@@ -126,12 +161,21 @@ jobs:
126161
permissions:
127162
pull-requests: write
128163
steps:
129-
- uses: actions/checkout@v3
130-
- uses: actions/setup-node@v3
164+
- uses: actions/checkout@v4
165+
with:
166+
lfs: true
167+
168+
- name: Enable Corepack
169+
run: corepack enable
170+
171+
- uses: actions/setup-node@v4
131172
with:
132173
node-version-file: .tool-versions
174+
- name: Enable Corepack
175+
run: corepack enable
133176
- name: 📦 Install Dependencies
134177
run: yarn install --immutable --immutable-cache
178+
135179
- name: 📈 Run GraphQL Codegen
136180
uses: nick-fields/retry@v3
137181
with:

.github/workflows/onesky.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,21 @@ jobs:
1616
download:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-node@v3
19+
- uses: actions/checkout@v4
20+
with:
21+
lfs: true
22+
23+
- name: Enable Corepack
24+
run: corepack enable
25+
26+
- uses: actions/setup-node@v4
2127
with:
2228
node-version-file: .tool-versions
29+
- name: Enable Corepack
30+
run: corepack enable
2331
- name: 📦 Install Dependencies
2432
run: yarn install --immutable --immutable-cache
33+
2534
- name: 🌐 Extract Translations
2635
run: yarn extract
2736
- name: ⛅🔽 OneSky Download

.github/workflows/preview-close.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: contains(github.event.pull_request.labels.*.name, 'Preview Environment')
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: configure AWS credentials
1515
id: creds
1616
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
id-token: write
1414
pull-requests: write
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: configure AWS credentials
1818
id: creds
1919
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/run-lighthouse.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,21 @@ jobs:
1515
permissions:
1616
pull-requests: write
1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
with:
20+
lfs: true
21+
22+
- name: Enable Corepack
23+
run: corepack enable
24+
25+
- uses: actions/setup-node@v4
2026
with:
2127
node-version-file: .tool-versions
28+
- name: Enable Corepack
29+
run: corepack enable
2230
- name: 📦 Install Dependencies
2331
run: yarn install --immutable --immutable-cache
32+
2433
- name: 🚨 Run Lighthouse
2534
run: yarn lighthouse
2635
env:

.github/workflows/update-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'On Staging')
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: 🖇️ Merge current branch into staging
1616
uses: devmasx/[email protected]
1717
with:

.husky/post-checkout

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
3+
git lfs post-checkout "$@"

.husky/post-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
3+
git lfs post-commit "$@"

.husky/post-merge

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
3+
git lfs post-merge "$@"

0 commit comments

Comments
 (0)