You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Cypress pnpm projects only works out-of-the-box for pnpmv8 lockfiles. Attempting to run with a pnpmv9 lockfile causes a fatal error message:
WARN Ignoring not compatible lockfile at /home/circleci/project/pnpm-lock.yaml
ERR_PNPM_NO_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is present
Desired behavior
The Cypress CircleCI orb should support selection and use of any pnpm version v8, v9 and future versions above. pnpm is sensitive to the version of lockfile used.
Current behavior
Running Cypress pnpm projects only works out-of-the-box for pnpm
v8
lockfiles. Attempting to run with a pnpmv9
lockfile causes a fatal error message:Desired behavior
The Cypress CircleCI orb should support selection and use of any pnpm version
v8
,v9
and future versions above. pnpm is sensitive to the version of lockfile used.See also circleci/node and install-pnpm - version parameter.
Test code to reproduce
Run the following workflow against a project with a pnpm lockfile
pnpm-lock.yaml
created with pnpmv8
, then withv9
:using Cypress CircleCI Orb:
latest
)Results
3.4.0
lockfileVersion
latest-8
(v8.15.9
)6.0
latest-9
(v9.12.3
)9.0
(1) "WARN Ignoring not compatible lockfile at /home/circleci/project/pnpm-lock.yaml"
The executor being used is
cimg/node:18.16.1-browsers
, which has[email protected]
pre-installed.The text was updated successfully, but these errors were encountered: