File tree Expand file tree Collapse file tree
examples/ethereum-basic-event-handlers/hardhat Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @graphprotocol/graph-cli ' : minor
3+ ---
4+
5+ Drop support for Node.js 20 (end-of-life 2026-04-30). The minimum supported
6+ Node.js version is now 22.11.0 (Node 22 LTS). CI now tests on Node 22 and 24;
7+ released binaries continue to be built on Node 24.
Original file line number Diff line number Diff line change 77 nodeVersion :
88 description : Node.js version to use
99 required : true
10- default : ' 20 '
10+ default : ' 22 '
1111 workingDirectory :
1212 description : Working directory
1313 required : false
Original file line number Diff line number Diff line change 2424 - uses : ./.github/actions/setup-node
2525 name : Setup Env
2626 with :
27- nodeVersion : 20
27+ nodeVersion : 22
2828 packageManager : pnpm
2929 packageManagerVersion : 9
3030
3838 strategy :
3939 fail-fast : false
4040 matrix :
41- node-version : [20, 22 ]
41+ node-version : [22, 24 ]
4242 steps :
4343 - name : Checkout Repository
4444 uses : actions/checkout@v5
8080 - uses : ./.github/actions/setup-node
8181 name : Setup Env
8282 with :
83- nodeVersion : 20
83+ nodeVersion : 22
8484 packageManager : pnpm
8585 packageManagerVersion : 9
8686
@@ -110,7 +110,7 @@ jobs:
110110 - uses : ./.github/actions/setup-node
111111 name : Setup Env
112112 with :
113- nodeVersion : 20
113+ nodeVersion : 22
114114 packageManager : pnpm
115115 packageManagerVersion : 9
116116
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ all the communications.
2121To run this project locally:
2222
23231 . Clone the repository
24- 2 . Make sure you have [ Node.js] ( https://nodejs.org/en ) ` >=20 .x ` installed
24+ 2 . Make sure you have [ Node.js] ( https://nodejs.org/en ) ` >=22 .x ` installed
25253 . Make sure you have [ ` pnpm ` installed] ( https://pnpm.io/installation )
26264 . Run ` pnpm install ` to install dependencies
27275 . Run ` pnpm build ` to build the packages
Original file line number Diff line number Diff line change 1- FROM node:20 -alpine
1+ FROM node:22 -alpine
22
33COPY . /usr/src/app
44
Original file line number Diff line number Diff line change 1212 "license" : " (Apache-2.0 OR MIT)" ,
1313 "private" : true ,
1414 "engines" : {
15- "node" : " >=20 .0.0" ,
15+ "node" : " >=22 .0.0" ,
1616 "pnpm" : " 9"
1717 },
1818 "scripts" : {
Original file line number Diff line number Diff line change 1010 },
1111 "license" : " (Apache-2.0 OR MIT)" ,
1212 "engines" : {
13- "node" : " >=20.18.1 "
13+ "node" : " >=22.11.0 "
1414 },
1515 "bin" : {
1616 "graph" : " bin/run.js"
You can’t perform that action at this time.
0 commit comments