Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration test: e2e-vue-cli (#10919)
* chore: add e2e-vue-cli test * chore: add node-browsers-executor * chore: state why node-browsers-executor is required
- Loading branch information
1 parent
9f832c2
commit e504805
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
#==============================================================================# | ||
# SETUP # | ||
#==============================================================================# | ||
|
||
# Start in scripts/integration-tests/ even if run from root directory | ||
cd "$(dirname "$0")" || exit | ||
|
||
source utils/local-registry.sh | ||
source utils/cleanup.sh | ||
|
||
# Echo every command being executed | ||
set -x | ||
|
||
# Clone vue-cli | ||
git clone --depth=1 https://github.com/vuejs/vue-cli tmp/vue-cli | ||
cd tmp/vue-cli || exit | ||
|
||
#==============================================================================# | ||
# TEST # | ||
#==============================================================================# | ||
|
||
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 | ||
|
||
# Test | ||
CI=true yarn test -p babel | ||
|
||
cleanup |
OMG I don't kown nothing here