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

Upgrade Node.js to 20, relax engines requirements, update CI #130

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

mikkopiu
Copy link
Contributor

@mikkopiu mikkopiu commented Jan 9, 2024

Upgrade to the latest Node.js LTS version, 20 -- mainly a formality for development purposes.

But mainly, relax the engines requirements: as a library, we shouldn't be too strict about the Node.js and npm version our users have but rather define the supported minimum version and bump it when necessary. We can define a maximum if a breaking change appears later on, but eschew it for now.

Also update GitHub Actions to their latest versions, so that they also use Node.js 20 and simplify CI by using .nvmrc as the source of truth for CI's Node.js version instead of maintaining it separately (no more forgetting to update CI).

As a library, we shouldn't require an exact version but rather tell the oldest supported one and update the minimum as required.

Also, no real need to required npm 9 specifically.
@mikkopiu
Copy link
Contributor Author

mikkopiu commented Jan 9, 2024

Minor enough and cinode-bot need these, so I'll just merge once CI works again and passes

@mikkopiu mikkopiu merged commit a329777 into main Jan 9, 2024
1 check passed
@mikkopiu mikkopiu deleted the chore/upgrade-nodejs-relax-engines branch January 9, 2024 14:21
mikkopiu added a commit that referenced this pull request Jan 9, 2024
- Upgrade to Node.js 20 but relax engines to 18 and npm 8 (#130)
- CI: Use Node.js from .nvmrc, update actions (#130)
@mikkopiu mikkopiu mentioned this pull request Jan 9, 2024
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.

None yet

1 participant