diff --git a/scripts/integration-tests/e2e-babel.sh b/scripts/integration-tests/e2e-babel.sh index d295a9416c..f73b75f95b 100755 --- a/scripts/integration-tests/e2e-babel.sh +++ b/scripts/integration-tests/e2e-babel.sh @@ -5,7 +5,7 @@ #==============================================================================# # Start in scripts/integration-tests/ even if run from root directory -cd "$(dirname "$0")" +cd "$(dirname "$0")" || exit source utils/local-registry.sh source utils/cleanup.sh diff --git a/scripts/integration-tests/e2e-create-react-app.sh b/scripts/integration-tests/e2e-create-react-app.sh index e589ec12fe..1c956f240c 100755 --- a/scripts/integration-tests/e2e-create-react-app.sh +++ b/scripts/integration-tests/e2e-create-react-app.sh @@ -5,7 +5,7 @@ #==============================================================================# # Start in scripts/integration-tests/ even if run from root directory -cd "$(dirname "$0")" +cd "$(dirname "$0")" || exit source utils/local-registry.sh source utils/cleanup.sh @@ -14,8 +14,8 @@ source utils/cleanup.sh set -x # Clone create-react-app -git clone https://github.com/facebook/create-react-app.git tmp/create-react-app -cd tmp/create-react-app +git clone --depth=1 https://github.com/facebook/create-react-app.git tmp/create-react-app +cd tmp/create-react-app || exit #==============================================================================# # TEST # @@ -25,7 +25,7 @@ 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. -echo "a\n" | yarn upgrade-interactive --scope @babel --latest +printf "a\n" | yarn upgrade-interactive --scope @babel --latest # Test CI=true yarn test diff --git a/scripts/integration-tests/publish-local.sh b/scripts/integration-tests/publish-local.sh index 8a77d31cb5..c2e16da375 100755 --- a/scripts/integration-tests/publish-local.sh +++ b/scripts/integration-tests/publish-local.sh @@ -15,7 +15,7 @@ function publishESLintPkg { cd eslint/$1 yarn version --patch --no-git-tag-version cd ../.. - make publish-eslint PKG=$1 + make -j publish-eslint PKG=$1 } # Echo every command being executed @@ -30,7 +30,7 @@ initializeE2Egit # PUBLISH # #==============================================================================# -make bootstrap-only +make -j bootstrap-only startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml loginLocalRegistry