chore: replace yarn-upgrade by bump-babel-dependencies in e2e tests (#11021)

* chore: pin yarn version in e2e vue tests

* fix: replace yarn-upgrade by bump-babel-dependencies

* chore: update e2e-cra test
This commit is contained in:
Huáng Jùnliàng
2020-01-17 07:55:29 -05:00
committed by GitHub
parent 06dace1cdb
commit 1a1454328b
3 changed files with 35 additions and 8 deletions

View File

@@ -23,9 +23,9 @@ cd tmp/create-react-app || exit
startLocalRegistry "$PWD"/../../verdaccio-config.yml
yarn install
# "yarn upgrade --scope @babel --latest" doesn't seem to work.
# a means "all", while \n is the enter needed to confirm the selection.
printf "a\n" | yarn upgrade-interactive --scope @babel --latest
node "$PWD"/../../utils/bump-babel-dependencies.js
yarn lerna exec -- node "$PWD"/../../utils/bump-babel-dependencies.js
yarn install
# Test
CI=true yarn test