Skip to content

Commit 45bf1b1

Browse files
committed
fix: build failure due to unsupported node version
1 parent e0efeae commit 45bf1b1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.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: [16.x, 18.x, 20.x]
14+
node-version: [18.x, 20.x, 22.x]
1515

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

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "react-infinite-scroll-component",
33
"version": "7.0.0",
44
"description": "An Infinite Scroll component in react.",
5+
"engines": {
6+
"node": ">=18.18.0"
7+
},
58
"source": "src/index.tsx",
69
"main": "dist/index.js",
710
"unpkg": "dist/index.umd.js",

0 commit comments

Comments
 (0)