1
1
mirror of https://github.com/twentyhq/twenty.git synced 2024-12-29 15:25:45 +03:00
twenty/server/scripts/run-integration.sh
Ruslan a5fe256d7e
chore: inject enviroment at the ./front deployment phase () ()
* chore: inject enviroment at the deployment phase ()

* Dockerfile CMD env.sh
* env.sh generates env-config.js file
* index.html imports env-config.js
* front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL

* Upgrade Dockerfiles

* Add compute pg_database_url for render

* fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-22 12:36:36 +02:00

9 lines
175 B
Bash
Executable File

#!/usr/bin/env bash
# scripts/run-integration.sh
DIR="$(cd "$(dirname "$0")" && pwd)"
source $DIR/set-env-test.sh
yarn database:init
yarn jest --config ./test/jest-e2e.json