cypress-io / circleci-orb

Install, cache and run Cypress.io tests on CircleCI with minimal configuration.
https://circleci.com/orbs/registry/orb/cypress-io/cypress
MIT License
159 stars 101 forks source link

cypress/run-tests installing YARN packages? #417

Closed mattkoch-bb closed 1 year ago

mattkoch-bb commented 1 year ago

cypress/run-tests installing YARN packages?

I have the following job in my CircleCI config, and was expecting that it not install YARN packages.

https://circleci.com/developer/orbs/orb/cypress-io/cypress#commands-run-tests

  acceptance:
    docker:
      - image: cypress/included:cypress-12.6.0-node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
    parallelism: 1
    steps:
      - checkout
      - attach_workspace:
          at: ~/
      - cypress/run-tests:
          working-directory: nextjs
          start-command: npx wrangler pages dev out
          cypress-command: npx cypress run --config video=false,baseUrl=http://localhost:8788

With this setup, I observed that CircleCI still runs a yarn install step - am I missing a parameter or configuration step?

jennifer-shehane commented 1 year ago

It shouldn't run yarn unless you specified package-manager: yarn in your orb setup.

Can you provide any logs?

mattkoch-bb commented 1 year ago

It shouldn't run yarn unless you specified package-manager: yarn in your orb setup.

Can you provide any logs?

Happy to do this, what would be most helpful?