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 node version #14460

Merged
merged 19 commits into from Sep 19, 2023
Merged

Conversation

eryue0220
Copy link
Contributor

Summary

Fix: #14442

Test plan

@netlify
Copy link

netlify bot commented Aug 30, 2023

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6d9cec1
🔍 Latest deploy log https://app.netlify.com/sites/jestjs/deploys/65093dc27e787a0008ce10b5
😎 Deploy Preview https://deploy-preview-14460--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

constraints.pro Outdated Show resolved Hide resolved
@SimenB SimenB added this to the Jest 30 milestone Aug 31, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

thanks! I'll land this when we start landing breaking changes

@SimenB SimenB added the Pinned label Aug 31, 2023
@@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x, 19.x, 20.x]
node-version: [16.x, 18.x, 20.x]
Copy link
Contributor

Choose a reason for hiding this comment

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

Old idea: perhaps it would make sense to run CI checks on 16.10 as well? This is the lowest supported version. The 16.x tag resolves to the latest version in the 16 series.

Copy link
Member

Choose a reason for hiding this comment

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

hmm, yeah. that probably makes sense to do 👍 Separately from this PR, tho. Should do the same for the first versions of all node versions we claim support for

package.json Outdated Show resolved Hide resolved
eryue0220 and others added 5 commits September 11, 2023 21:47
…t into chore-upgrade-node-version

* 'chore-upgrade-node-version' of github.com:eryue0220/jest:
  Update CHANGELOG.md
@eryue0220
Copy link
Contributor Author

A new error occurred that caused by the type declaration conflict, or we need to add work around? The types/node issues link

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace NodeJS {
interface Global {
Copy link
Member

Choose a reason for hiding this comment

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

this is removed in the node 16 types

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome job and thank you.

@SimenB SimenB merged commit 3374790 into jestjs:main Sep 19, 2023
67 checks passed
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Drop support Node V14 and V16 support?
3 participants