30 lines
867 B
Bash
Executable File
30 lines
867 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#==============================================================================#
|
|
# SETUP #
|
|
#==============================================================================#
|
|
|
|
# Start in scripts/integration-tests/ even if run from root directory
|
|
cd "$(dirname "$0")"
|
|
|
|
source utils/local-registry.sh
|
|
source utils/cleanup.sh
|
|
|
|
# Echo every command being executed
|
|
set -x
|
|
|
|
# Go to the root of the monorepo
|
|
cd ../..
|
|
|
|
#==============================================================================#
|
|
# TEST #
|
|
#==============================================================================#
|
|
|
|
startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
|
|
yarn upgrade --scope @babel
|
|
|
|
# Test
|
|
make test-ci
|
|
|
|
cleanup
|