Skip to content

Commit a918d2c

Browse files
committed
feat: update node 24
1 parent 93db8e1 commit a918d2c

7 files changed

Lines changed: 21 additions & 33 deletions

File tree

.github/workflows/eslint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '22'
23+
node-version: '24'
2424
cache: yarn
2525

2626
- name: Install dependencies

.github/workflows/jest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '22'
23+
node-version: '24'
2424
cache: 'yarn'
2525

2626
- name: Install dependencies

.github/workflows/nextjs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Node
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: '22'
37+
node-version: '24'
3838
cache: 'yarn'
3939
- name: Restore cache
4040
uses: actions/cache@v4
@@ -66,7 +66,7 @@ jobs:
6666
- name: Setup Node
6767
uses: actions/setup-node@v4
6868
with:
69-
node-version: '22'
69+
node-version: '24'
7070
cache: yarn
7171
- name: Install dependencies
7272
run: yarn install
@@ -81,7 +81,7 @@ jobs:
8181
- name: Setup Node
8282
uses: actions/setup-node@v4
8383
with:
84-
node-version: '22'
84+
node-version: '24'
8585
cache: 'yarn'
8686
- name: Install dependencies
8787
run: yarn install
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setup Node
9797
uses: actions/setup-node@v4
9898
with:
99-
node-version: '22'
99+
node-version: '24'
100100
cache: 'yarn'
101101
- name: Install dependencies
102102
run: yarn install
@@ -126,7 +126,7 @@ jobs:
126126
- name: Setup Node
127127
uses: actions/setup-node@v4
128128
with:
129-
node-version: '22'
129+
node-version: '24'
130130
cache: 'yarn'
131131
- name: Install dependencies
132132
run: yarn install
@@ -146,7 +146,7 @@ jobs:
146146
- name: Setup Node
147147
uses: actions/setup-node@v4
148148
with:
149-
node-version: '22'
149+
node-version: '24'
150150
cache: 'yarn'
151151
- name: Install dependencies
152152
run: yarn install

.github/workflows/typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '22'
23+
node-version: '24'
2424
cache: 'yarn'
2525

2626
- name: Install dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/xboy2012/xboy2012.github.io/nextjs.yml?branch=master&logo=github)
22
![TypeScript](https://img.shields.io/badge/typescript-%5E5.9.3-blue?logo=typescript)
3-
![Node.js](https://img.shields.io/badge/node.js-%3E=22.20.0-green?logo=nodedotjs)
3+
![Node.js](https://img.shields.io/badge/node.js-%3E=24.10.0-green?logo=nodedotjs)
44
![Prettier](https://img.shields.io/badge/prettier-^3.6.2-ff69b4.svg?logo=prettier)
55
![ESLint](https://img.shields.io/badge/eslint-^9.37.0-341bab.svg?logo=eslint)
66

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@types/eslint": "^9.6.1",
3737
"@types/jest": "^30.0.0",
3838
"@types/mdx": "^2.0.13",
39-
"@types/node": "^22.18.10",
39+
"@types/node": "^24.7.2",
4040
"@types/react": "^19.2.2",
4141
"@types/react-dom": "^19.2.2",
4242
"autoprefixer": "^10.4.21",
@@ -76,6 +76,6 @@
7676
},
7777
"engineStrict": true,
7878
"engines": {
79-
"node": "^22.20.0"
79+
"node": "^24.10.0"
8080
}
8181
}

yarn.lock

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,19 +1657,12 @@
16571657
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78"
16581658
integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==
16591659

1660-
"@types/node@*":
1661-
version "24.6.2"
1662-
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.6.2.tgz#59b99878b6fed17e698e7d09e51c729c5877736a"
1663-
integrity sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang==
1660+
"@types/node@*", "@types/node@^24.7.2":
1661+
version "24.7.2"
1662+
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.7.2.tgz#5adf66b6e2ac5cab1d10a2ad3682e359cb652f4a"
1663+
integrity sha512-/NbVmcGTP+lj5oa4yiYxxeBjRivKQ5Ns1eSZeB99ExsEQ6rX5XYU1Zy/gGxY/ilqtD4Etx9mKyrPxZRetiahhA==
16641664
dependencies:
1665-
undici-types "~7.13.0"
1666-
1667-
"@types/node@^22.18.10":
1668-
version "22.18.10"
1669-
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.18.10.tgz#37f0ac8d2ec41af7bba06f162c85ff409e4e3420"
1670-
integrity sha512-anNG/V/Efn/YZY4pRzbACnKxNKoBng2VTFydVu8RRs5hQjikP8CQfaeAV59VFSCzKNp90mXiVXW2QzV56rwMrg==
1671-
dependencies:
1672-
undici-types "~6.21.0"
1665+
undici-types "~7.14.0"
16731666

16741667
"@types/react-dom@^19.2.2":
16751668
version "19.2.2"
@@ -6746,15 +6739,10 @@ unbox-primitive@^1.1.0:
67466739
has-symbols "^1.1.0"
67476740
which-boxed-primitive "^1.1.1"
67486741

6749-
undici-types@~6.21.0:
6750-
version "6.21.0"
6751-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
6752-
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
6753-
6754-
undici-types@~7.13.0:
6755-
version "7.13.0"
6756-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.13.0.tgz#a20ba7c0a2be0c97bd55c308069d29d167466bff"
6757-
integrity sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==
6742+
undici-types@~7.14.0:
6743+
version "7.14.0"
6744+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.14.0.tgz#4c037b32ca4d7d62fae042174604341588bc0840"
6745+
integrity sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==
67586746

67596747
unified@^11.0.0:
67606748
version "11.0.5"

0 commit comments

Comments
 (0)