Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to use node 20 #1500

Merged
merged 2 commits into from
Nov 15, 2023
Merged

chore: upgrade to use node 20 #1500

merged 2 commits into from
Nov 15, 2023

Conversation

saihaj
Copy link
Member

@saihaj saihaj commented Nov 13, 2023

  • Drop node 16 from node test matrix
  • include node 21 in node test matrix
  • make node 20 the default env
  • make node 20 the default dev env
  • upgrade pnpm version
  • CLI still will allow node 18+ just because it is still an active version from Node Releases WG

closes #1499

Copy link

changeset-bot bot commented Nov 13, 2023

🦋 Changeset detected

Latest commit: b050447

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/graph-cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b050447
Status: ✅  Deploy successful!
Preview URL: https://f7fc28a7.graph-tooling.pages.dev
Branch Preview URL: https://1499-upgrade-to-node-20.graph-tooling.pages.dev

View logs

Copy link
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphprotocol/graph-cli 0.62.0-alpha-20231113201404-b050447 npm ↗︎ unpkg ↗︎

'@graphprotocol/graph-cli': minor
---

upgrade to Node 20
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything needed from the consumer's point of view? Is anything important worth mentioning?

@@ -31,7 +31,7 @@ jobs:
with:
npmTag: rc
buildScript: build
nodeVersion: 16
nodeVersion: 20
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a side note, I think at some point we can change this in shared-config; we can read the node-version file and just use it by default

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also use a .nvmrc file and point to it during setup-node with node-version-file option.

Copy link
Collaborator

@dotansimha dotansimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just please verify the release type because of the breaking changes.

@saihaj saihaj requested a review from enisdenjo November 14, 2023 14:49
@saihaj saihaj merged commit 4b92a5e into main Nov 15, 2023
11 checks passed
@saihaj saihaj deleted the 1499-upgrade-to-node-20 branch November 15, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade to Node 20
3 participants