diff --git a/.travis.yml b/.travis.yml index 414e2b558f..43b137fa6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,6 @@ before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash script: - # Babel doesn't build correctly with npm v2 (which comes bundled with Node v4) - # so we manually upgrade to a known working npm version. - - npm install --global npm@4 - 'if [ "$JOB" = "test" ]; then make test-ci; fi' - 'if [ "$JOB" = "lint" ]; then make lint && make flow; fi' diff --git a/lerna.json b/lerna.json index 823dc8e8d0..3fc62ca5d1 100644 --- a/lerna.json +++ b/lerna.json @@ -28,5 +28,7 @@ "packages/*", "codemods/*", "experimental/*" - ] + ], + "npmClient": "yarn", + "npmClientArgs": ["--no-lockfile"] }