2023-01-13 09:13:00 +01:00

16 lines
334 B
Bash
Executable File

## disable EE if options not set
if [[ -z "$RUN_EE" ]]; then
export STRAPI_DISABLE_EE=true
else
export STRAPI_DISABLE_LICENSE_PING=true
fi
export ENV_PATH="$(pwd)/testApp/.env"
export JWT_SECRET="aSecret"
opts=($DB_OPTIONS)
yarn run -s build:ts
yarn run -s test:generate-app "${opts[@]}"
yarn run -s test:api --no-generate-app