mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
16 lines
407 B
Bash
Executable File
16 lines
407 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)/test-apps/api/.env"
|
|
export JWT_SECRET="aSecret"
|
|
|
|
opts=($DB_OPTIONS)
|
|
|
|
yarn nx run-many --target=build:ts --nx-ignore-cycles --skip-nx-cache
|
|
yarn run test:generate-app --appPath=test-apps/api "${opts[@]}"
|
|
yarn run test:api --no-generate-app
|