From a560746fcda9d95844f659aadda0f3cfba682b7e Mon Sep 17 00:00:00 2001 From: Weiko Date: Mon, 25 Mar 2024 11:00:11 +0100 Subject: [PATCH] Add worker run step to server cli (#4619) * Add worker run step to server cli * add build step * fix --- .github/workflows/ci-server.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml index c0782e11e614..e1de6dda9c74 100644 --- a/.github/workflows/ci-server.yaml +++ b/.github/workflows/ci-server.yaml @@ -31,5 +31,11 @@ jobs: run: yarn nx lint twenty-server - name: Server / Run jest tests run: yarn nx test twenty-server - # - name: Server / Run e2e tests - # run: yarn nx test:e2e twenty-server + - name: Server / Build + 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