Skip to content

The open alternative to Salesforce, designed for AI.

Fix worker run ci step (#7437)

Weikobd305c84320f
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml
index 857dec2fc86..074d63fdda4 100644
--- a/.github/workflows/ci-server.yaml
+++ b/.github/workflows/ci-server.yaml
@@ -54,7 +54,7 @@ jobs:
- name: Server / Write .env
run: npx nx reset:env twenty-server
- name: Worker / Run
- run: MESSAGE_QUEUE_TYPE=sync npx nx worker twenty-server
+ run: npx nx run twenty-server:worker:ci
server-test:
runs-on: ubuntu-latest
diff --git a/packages/twenty-server/project.json b/packages/twenty-server/project.json
index a31ff4fb101..ed8ad716b6e 100644
--- a/packages/twenty-server/project.json
+++ b/packages/twenty-server/project.json
@@ -77,6 +77,14 @@
"options": {
"cwd": "packages/twenty-server",
"command": "node dist/src/queue-worker/queue-worker.js"
+ },
+ "configurations": {
+ "ci": {
+ "env": {
+ "MESSAGE_QUEUE_TYPE": "sync",
+ "CACHE_STORAGE_TYPE": "memory"
+ }
+ }
}
},
"typeorm": {