Update yarn commands (#4644)
* Simplify commands * Simplify commands * Migrate all dev commands to project.json * Fix tests
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
export PG_DATABASE_URL=postgres://twenty:twenty@$PG_DATABASE_HOST:$PG_DATABASE_PORT/default
|
||||
yarn database:setup
|
||||
yarn database:init:prod
|
||||
node dist/src/main
|
||||
|
||||
@ -4,5 +4,5 @@
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
source $DIR/set-env-test.sh
|
||||
|
||||
yarn database:init
|
||||
yarn jest --config ./test/jest-e2e.json
|
||||
yarn nx database:reset
|
||||
yarn nx jest --config ./test/jest-e2e.json
|
||||
|
||||
Reference in New Issue
Block a user