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

Support for Node v22 #431

Open
1 task done
michael-sumner opened this issue Dec 18, 2024 · 0 comments
Open
1 task done

Support for Node v22 #431

michael-sumner opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@michael-sumner
Copy link
Member

Is your enhancement related to a problem? Please describe.

The current node versions are restricted up to 20. This causes a build to fail if it is running on a docker image running PHP 8.3 (which is now the supported version). The node LTS version is changing and we will want to support Node 22 and higher.

In WPVIP builds, you will see that PHP 8.3 is used alongside obtaining the node version using this common docker image:
https://github.com/CircleCI-Public/cimg-php/blob/main/8.3/node/Dockerfile#L8

It obtains the latest LTS node version from the URL https://raw.githubusercontent.com/CircleCI-Public/cimg-node/main/ALIASES

So, this will need to be updated to support not just a new node version, but also for common PHP docker images for builds.

Designs

No response

Describe alternatives you've considered

For now, we can attempt to force a different node version to be used. Although, at some point, this can introduce security issues until we allow greater node versions to be used.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@michael-sumner michael-sumner self-assigned this Dec 18, 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

No branches or pull requests

1 participant