diff --git a/circle.yml b/circle.yml index c86a4a890139..8456182afd11 100644 --- a/circle.yml +++ b/circle.yml @@ -337,7 +337,9 @@ commands: git checkout pr-<> git log -n 2 - run: - command: npm install + # Install with yarn if yarn.lock present + command: | + [[ -f yarn.lock ]] && yarn || npm install working_directory: /tmp/<> - run: name: Install Cypress