Skip to content

Commit

Permalink
Require Node v20 (#1863)
Browse files Browse the repository at this point in the history
* exclude node v18 from workflows

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
YaroShkvorets and github-actions[bot] authored Dec 19, 2024
1 parent 912ed12 commit 4e70f64
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-foxes-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': patch
---

warn about outdated node version
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22]
node-version: [20, 22]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
},
"overrides": {
"rimraf": "^6.0.0"
}
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "CLI for building for and deploying to The Graph",
"license": "(Apache-2.0 OR MIT)",
"engines": {
"node": ">=18"
"node": ">=20.18.1"
},
"bin": {
"graph": "bin/run.js"
Expand Down
47 changes: 31 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e70f64

Please sign in to comment.