Boegie19 965da42615
combined all CI improvement (#18383)
* 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
2023-10-18 10:24:23 +01:00

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[@]}"