Conditionally disable npm install


#1

Could you please make sure a repo does not have a yarn.lock file before you run npm install on a repo that has a package.json file? We’re using Yarn and not NPM and so our CI tests are failing right out the gate because CircleCI assumes we have NPM going on and so it’s running this command.

To sidestep this issue for now I’ve created a circle.yml file with the following contents:

dependencies:
  override:
    - echo "Ignore CircleCI default dependencies"
test:
  override:
    - echo "Ignore CircleCI default test"

It’d be nice to not have to do this though.


#2