Update yarn commands (#4644)

* Simplify commands

* Simplify commands

* Migrate all dev commands to project.json

* Fix tests
This commit is contained in:
Charles Bochet
2024-03-25 12:31:18 +01:00
committed by GitHub
parent 1639b2ad0e
commit e576fe0d67
14 changed files with 179 additions and 82 deletions

View File

@ -30,7 +30,7 @@ jobs:
- name: Server / Run linter
run: yarn nx lint twenty-server
- name: Server / Run jest tests
run: yarn nx test twenty-server
run: yarn nx test:unit twenty-server
- name: Server / Build
run: yarn nx build twenty-server
- name: Server / Write .env
@ -38,4 +38,4 @@ jobs:
cd packages/twenty-server
cp .env.example .env
- name: Worker / Run
run: MESSAGE_QUEUE_TYPE=sync yarn nx queue:work twenty-server
run: MESSAGE_QUEUE_TYPE=sync yarn nx worker twenty-server