Skip to content

Commit

Permalink
chore: workaround yarn issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jan 4, 2020
1 parent 03d163a commit 09fe186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/integration-tests/e2e-create-react-app.sh
Expand Up @@ -23,6 +23,9 @@ cd tmp/create-react-app || exit

startLocalRegistry "$PWD"/../../verdaccio-config.yml
yarn install
# Workaround https://github.com/yarnpkg/yarn/issues/7797
yarn add --dev -W @babel/core

# "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
Expand Down
3 changes: 3 additions & 0 deletions scripts/integration-tests/e2e-vue-cli.sh
Expand Up @@ -22,6 +22,9 @@ cd tmp/vue-cli || exit
#==============================================================================#

startLocalRegistry "$PWD"/../../verdaccio-config.yml

#
yarn global add yarn@1.18
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.
Expand Down

0 comments on commit 09fe186

Please sign in to comment.