Add worker run step to server cli (#4619)
* Add worker run step to server cli * add build step * fix
This commit is contained in:
10
.github/workflows/ci-server.yaml
vendored
10
.github/workflows/ci-server.yaml
vendored
@ -31,5 +31,11 @@ jobs:
|
|||||||
run: yarn nx lint twenty-server
|
run: yarn nx lint twenty-server
|
||||||
- name: Server / Run jest tests
|
- name: Server / Run jest tests
|
||||||
run: yarn nx test twenty-server
|
run: yarn nx test twenty-server
|
||||||
# - name: Server / Run e2e tests
|
- name: Server / Build
|
||||||
# run: yarn nx test:e2e twenty-server
|
run: yarn 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 queue:work twenty-server
|
||||||
|
|||||||
Reference in New Issue
Block a user