fix: fix root start script (#5032)

Fixes #5022

See https://nx.dev/recipes/running-tasks/root-level-scripts#setup
This commit is contained in:
Thaïs
2024-04-19 18:28:02 +02:00
committed by GitHub
parent 43f0b11aab
commit d3170fc1ea
28 changed files with 94 additions and 79 deletions

View File

@ -36,14 +36,14 @@ jobs:
- name: Server / Install Dependencies
run: yarn
- name: Server / Run linter
run: yarn nx lint twenty-server
run: npx nx lint twenty-server
- name: Server / Run jest tests
run: yarn nx test:unit twenty-server
run: npx nx test:unit twenty-server
- name: Server / Build
run: yarn nx build twenty-server
run: npx nx build twenty-server
- name: Server / Write .env
run: |
cd packages/twenty-server
cp .env.example .env
- name: Worker / Run
run: MESSAGE_QUEUE_TYPE=sync yarn nx worker twenty-server
run: MESSAGE_QUEUE_TYPE=sync npx nx worker twenty-server