mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 04:12: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
|
- name: Server / Write .env
|
||||||
run: npx nx reset:env twenty-server
|
run: npx nx reset:env twenty-server
|
||||||
- name: Worker / Run
|
- name: Worker / Run
|
||||||
run: MESSAGE_QUEUE_TYPE=sync npx nx worker twenty-server
|
run: npx nx run twenty-server:worker:ci
|
||||||
|
|
||||||
server-test:
|
server-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -77,6 +77,14 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"cwd": "packages/twenty-server",
|
"cwd": "packages/twenty-server",
|
||||||
"command": "node dist/src/queue-worker/queue-worker.js"
|
"command": "node dist/src/queue-worker/queue-worker.js"
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"ci": {
|
||||||
|
"env": {
|
||||||
|
"MESSAGE_QUEUE_TYPE": "sync",
|
||||||
|
"CACHE_STORAGE_TYPE": "memory"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"typeorm": {
|
"typeorm": {
|
||||||
|
|||||||
Reference in New Issue
Block a user