Skip to content

Commit 4e70f64

Browse files
Require Node v20 (#1863)
* exclude node v18 from workflows --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 912ed12 commit 4e70f64

File tree

5 files changed

+38
-21
lines changed

5 files changed

+38
-21
lines changed

.changeset/cuddly-foxes-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/graph-cli': patch
3+
---
4+
5+
warn about outdated node version

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
node-version: [18, 20, 22]
35+
node-version: [20, 22]
3636
steps:
3737
- name: Checkout Repository
3838
uses: actions/checkout@v4

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
"pnpm": {
4343
"patchedDependencies": {
4444
45-
},
46-
"overrides": {
47-
"rimraf": "^6.0.0"
4845
}
4946
}
5047
}

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "CLI for building for and deploying to The Graph",
66
"license": "(Apache-2.0 OR MIT)",
77
"engines": {
8-
"node": ">=18"
8+
"node": ">=20.18.1"
99
},
1010
"bin": {
1111
"graph": "bin/run.js"

pnpm-lock.yaml

Lines changed: 31 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)