Skip to content

Commit 06fd16c

Browse files
committed
ci: drop Node 18 from CI matrix, bump engines to >=20
Node 18 reached EOL April 2025. @size-limit/preset-small-lib@12 requires Node ^20, causing yarn install to fail on Node 18 in push.yml.
1 parent b6529f6 commit 06fd16c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
node-version: [18.x, 20.x, 22.x]
14+
node-version: [20.x, 22.x]
1515

1616
steps:
1717
- uses: actions/checkout@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "7.0.1",
44
"description": "An Infinite Scroll component in react.",
55
"engines": {
6-
"node": ">=18.18.0"
6+
"node": ">=20.0.0"
77
},
88
"source": "src/index.tsx",
99
"main": "dist/index.js",

0 commit comments

Comments
 (0)