Fix worker run ci step (#7437)

## Context
Updating the Worker / Run step to run in sync mode with in-memory cache
type so it does not hang forever in the CI.
This commit is contained in:
Weiko
2024-10-04 19:28:29 +02:00
committed by GitHub
parent 744304e859
commit bd305c8432
2 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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": {