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

CircleCI test-deploy workflow uses end-of-life Node.js 16 #448

Open
MikeMcC399 opened this issue Dec 7, 2023 · 7 comments
Open

CircleCI test-deploy workflow uses end-of-life Node.js 16 #448

MikeMcC399 opened this issue Dec 7, 2023 · 7 comments

Comments

@MikeMcC399
Copy link

MikeMcC399 commented Dec 7, 2023

The CircleCI workflow .circleci/test-deploy.yml is configured to use the Docker container:

cypress/browsers:node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1

whereas the executor has been updated to node-version: "20.6.0".

Node.js 16 already reached end-of-life on Sep 11, 2023 and is no longer supported.

(Runs are logged to https://app.circleci.com/pipelines/github/cypress-io/circleci-orb.)

Suggestion

Use Node.js 20 for the Docker containers, for example, using the latest available cypress/browsers:node-20.x Docker image from :

cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1

@MikeMcC399
Copy link
Author

It seems that https://app.circleci.com/pipelines/github/cypress-io/circleci-orb is not currently being triggered.

@jennifer-shehane
Copy link
Member

@MikeMcC399 Yes, I did notice this. I briefly looked at it but have no idea why.

@jennifer-shehane
Copy link
Member

@MikeMcC399 Figured it out with some help! #449 (comment)

@MikeMcC399
Copy link
Author

@jennifer-shehane

Thank you for taking a look at this. I can't be much help as I'm inexperienced with CircleCI and I don't have visibility into the CircleCI settings https://github.com/cypress-io/circleci-orb/settings either.

@MikeMcC399
Copy link
Author

Since

"@angular/cli": "~15.1.4",
is currently using Angular 15, this restricts Node.js to ^14.20.0 || ^16.13.0 || ^18.10.0 according to Angular > Version compatibility.

Angular 15 reaches end-of-life on May 18, 2024 so at some stage a migration to at least Angular 16 (supports Node.js ^16.14.0 || ^18.10.0) or preferably Angular 17 (supports Node.js ^18.13.0 || ^20.9.0) should be planned.

@jordanpowell88
Copy link
Contributor

Did #449 close this issue @jennifer-shehane ?

@MikeMcC399
Copy link
Author

@jordanpowell88

Did #449 close this issue?

https://github.com/cypress-io/circleci-orb/blob/master/.circleci/test-deploy.yml still contains the following usage of the now unsupported Node.js 16 version:

run-ct-tests-in-chrome:
docker:
- image: cypress/browsers:node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1

run-ct-tests-in-firefox:
docker:
- image: cypress/browsers:node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1

run-ct-tests-in-edge:
docker:
- image: cypress/browsers:node-16.18.1-chrome-109.0.5414.74-1-ff-109.0-edge-109.0.1518.52-1

This issue therefore remains unaddressed.

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

3 participants