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

Closed
MikeMcC399 opened this issue Dec 7, 2023 · 7 comments · Fixed by #473
Closed

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

MikeMcC399 opened this issue Dec 7, 2023 · 7 comments · Fixed by #473

Comments

@MikeMcC399
Copy link
Collaborator

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 a minimum Node.js 18.x version compatible with the examples/angular-app version installed.

@MikeMcC399
Copy link
Collaborator 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
Collaborator 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
Collaborator Author

MikeMcC399 commented Dec 16, 2023

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
Collaborator 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

Successfully merging a pull request may close this issue.

3 participants