Files
vue-cli/scripts/e2e-test/run-e2e-test.sh

34 lines
886 B
Bash
Executable File

#!/bin/bash
#==============================================================================#
# SETUP #
#==============================================================================#
# Start in scripts/integration-tests/ even if run from root directory
cd "$(dirname "$0")"
source ./local-registry.sh
source ./git.sh
source ./cleanup.sh
# Echo every command being executed
set -x
# Go to the root of the monorepo
cd ../..
initializeE2Egit
#==============================================================================#
# PUBLISH #
#==============================================================================#
yarn
startLocalRegistry "$PWD"/scripts/e2e-test/verdaccio-config.yml
publishToLocalRegistry
yarn test --e2e-only
cleanup