build: use vendored yarn under Bazel (#28839)

PR Close #28839
This commit is contained in:
Alex Eagle
2019-02-20 07:07:36 -08:00
committed by Igor Minar
parent 9cecb0b5d2
commit 1832e0f293
5 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ setPublicVar SAUCE_READY_FILE_TIMEOUT 120
####################################################################################################
# Define our own yarn command for CircleCI.
####################################################################################################
echo "function yarn () { /usr/bin/env node $projectDir/third_party/github.com/yarnpkg/yarn/releases/yarn-1.13.0.js \"\$@\"; }" >> $BASH_ENV;
echo "function yarn () { /usr/bin/env node $projectDir/third_party/github.com/yarnpkg/yarn/releases/download/v1.13.0/bin/yarn.js \"\$@\"; }" >> $BASH_ENV;
echo "export -f yarn;" >> $BASH_ENV;