mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
* cache yarn build * fixes typescript using new mono build * fixning mono build action * add a no build option for generate-app * test 3 shards instead of 2. * shard up to 4 * try 2 for shards * migrated last build to action * try 6 shards * removed build from lint * remove build from lint * fix required tests * fixes/ shard decrease to 5 * remove last node 16 test * changed no:build to no-build * removed old build
16 lines
394 B
Bash
Executable File
16 lines
394 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)
|
|
jestOptions=($JEST_OPTIONS)
|
|
|
|
yarn run test:generate-app:no-build --appPath=test-apps/api "${opts[@]}"
|
|
yarn run test:api --no-generate-app "${jestOptions[@]}"
|