Closed tech247gb closed 1 year ago
Hi @tech247gb , You will need to provide more information and details about what you are expecting and how you are encountering this problem.
I am expecting npm install happen with node version 14.17.6. But its happening with 16 @nagash77
Hey @tech247gb I see where the confusion is. If you are using the Cypress Default Executor with no parameters, it will install using the default value of 16.16
.
executor: cypress/default
You can either bypass it by not using the Cypress Default Executor or you can change the node version
using the node-version
parameter for the executor like this:
executor: cypress/default:
node-version: 14.17.6
@jordanpowell88 cypress/run does not accept an executor argument, so it is also not possible to change the node version.
@jordanpowell88 cypress/run does not accept an executor argument, so it is also not possible to change the node version.
You are correct. You need to specify a different executor
than the default being used by the cypress/run
job. See this comment on how to implement https://github.com/cypress-io/circleci-orb/issues/423#issuecomment-1515217741
@jordanpowell88 cypress/run does not accept an executor argument
The orb does not work as expected
Still its chosing 16 as node version.
version: 2.1 orbs: cypress: cypress-io/cypress@3 executors: default: docker: