Skip to content

Commit 2b3de12

Browse files
committed
build!: bump Node.js to 22.12.0
BREAKING CHANGE: Node.js 22.12.0 or above is required.
1 parent 9b8b0f8 commit 2b3de12

File tree

47 files changed

+454
-622
lines changed

Some content is hidden

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

47 files changed

+454
-622
lines changed

.github/workflows/deploy-website.yml

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

19-
- name: Install Node.js v20
19+
- name: Install Node.js v22
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 22
2323

2424
- name: Install dependencies
2525
uses: ./packages/actions/src/pnpmCache

.github/workflows/deprecate-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
- name: Checkout repository
3737
uses: actions/checkout@v4
3838

39-
- name: Install Node.js v20
39+
- name: Install Node.js v22
4040
uses: actions/setup-node@v4
4141
with:
42-
node-version: 20
42+
node-version: 22
4343

4444
- name: Install dependencies
4545
uses: ./packages/actions/src/pnpmCache

.github/workflows/documentation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
with:
4141
ref: ${{ inputs.ref || '' }}
4242

43-
- name: Install Node.js v20
43+
- name: Install Node.js v22
4444
uses: actions/setup-node@v4
4545
with:
46-
node-version: 20
46+
node-version: 22
4747

4848
- name: Install dependencies
4949
uses: ./packages/actions/src/pnpmCache
@@ -215,10 +215,10 @@ jobs:
215215
- name: Checkout repository
216216
uses: actions/checkout@v4
217217

218-
- name: Install Node.js v20
218+
- name: Install Node.js v22
219219
uses: actions/setup-node@v4
220220
with:
221-
node-version: 20
221+
node-version: 22
222222

223223
- name: Install dependencies
224224
uses: ./packages/actions/src/pnpmCache

.github/workflows/publish-dev-docker.yml

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

15-
- name: Install Node.js v20
15+
- name: Install Node.js v22
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version: 22
1919

2020
- name: Install dependencies
2121
uses: ./packages/actions/src/pnpmCache

.github/workflows/publish-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
with:
4848
fetch-depth: 0
4949

50-
- name: Install Node.js v20
50+
- name: Install Node.js v22
5151
uses: actions/setup-node@v4
5252
with:
53-
node-version: 20
53+
node-version: 22
5454
registry-url: https://registry.npmjs.org/
5555

5656
- name: Check the current development version

.github/workflows/publish-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
- name: Checkout repository
1010
uses: actions/checkout@v4
1111

12-
- name: Install Node.js v20
12+
- name: Install Node.js v22
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616

1717
- name: Install dependencies
1818
uses: ./packages/actions/src/pnpmCache

.github/workflows/publish-release.yml

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

19-
- name: Install Node.js v20
19+
- name: Install Node.js v22
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 22
2323
registry-url: https://registry.npmjs.org/
2424

2525
- name: Install dependencies

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22-
- name: Install Node.js v20
22+
- name: Install Node.js v22
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20
25+
node-version: 22
2626

2727
- name: Install dependencies
2828
uses: ./packages/actions/src/pnpmCache

apps/website/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@
7272
"devDependencies": {
7373
"@shikijs/rehype": "^1.24.4",
7474
"@tailwindcss/typography": "^0.5.15",
75-
"@types/node": "^20.17.10",
75+
"@testing-library/react": "^15.0.7",
76+
"@testing-library/user-event": "^14.5.2",
77+
"@types/node": "^22.10.10",
7678
"@types/react": "^18.3.18",
7779
"@types/react-dom": "^18.3.5",
7880
"@vitejs/plugin-react": "^4.3.4",
@@ -96,6 +98,6 @@
9698
"vercel": "^37.14.0"
9799
},
98100
"engines": {
99-
"node": ">=20"
101+
"node": ">=22.12.0"
100102
}
101103
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
}
9696
},
9797
"engines": {
98-
"node": ">=20"
98+
"node": ">=22.12.0"
9999
},
100-
"packageManager": "[email protected].2"
100+
"packageManager": "[email protected].4"
101101
}

0 commit comments

Comments
 (0)