cypress-io / eslint-plugin-cypress

An ESLint plugin for projects that use Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update CircleCI Node Docker Image

emilyrohrbough opened this issue ยท comments

Notice on https://circleci.com/docs/2.0/circleci-images/ reads:

Legacy images with the prefix "circleci/" will be deprecated on December 31, 2021. For faster builds, upgrade your projects with next-generation convenience images.

Update .circle.yml to use cimg/node.

The CircleCI workflow circle.yml uses

      - image: circleci/node:16

which remains deprecated.

circleci/node:16 is a CircleCI Docker image.
Running the image in Docker shows that it is loaded with Node.js v16.13.1 / npm 8.1.2.
It is the same image tagged with circleci/node:16.13.

Additionally in the meantime Node.js 16 transitioned on Sep 11, 2023 into end-of-life status and is no longer supported by Cypress. Starting with Node.js v16.15.1, a simple npm ci can no longer install dependencies. The npm ci / npm install option --legacy-peer-deps is required as a workaround.

Related issues

  • PR #167 is proposed to solve dependency issues which should allow using Node.js 18, 20 or 21 to install dependencies cleanly and without errors. This in turn should allow cimg/node to be used, for instance cimg/node:20.12.2.

๐ŸŽ‰ This issue has been resolved in version 3.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€