mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 11:52:28 +00:00
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:
2
.github/workflows/ci-server.yaml
vendored
2
.github/workflows/ci-server.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user