CI: remove unnecessary Yarn download (#11684)
This commit is contained in:
parent
b89dc25e3f
commit
db0454134c
|
@ -7,7 +7,6 @@ jobs:
|
|||
|
||||
environment:
|
||||
TZ: /usr/share/zoneinfo/America/Los_Angeles
|
||||
YARN_VERSION: 1.2.1
|
||||
TRAVIS_REPO_SLUG: facebook/react
|
||||
|
||||
parallelism: 4
|
||||
|
@ -17,13 +16,6 @@ jobs:
|
|||
|
||||
- run: echo $CIRCLE_COMPARE_URL | cut -d/ -f7
|
||||
|
||||
- run:
|
||||
name: Install Yarn
|
||||
command: |
|
||||
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
|
||||
fi
|
||||
|
||||
- restore_cache:
|
||||
name: Restore node_modules cache
|
||||
keys:
|
||||
|
|
Loading…
Reference in New Issue