The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix integration test ci (#10226)
Weiko2ba9f2d0e511
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yamlindex 987ec32f4eb..6b8952cfef0 100644--- a/.github/workflows/ci-server.yaml+++ b/.github/workflows/ci-server.yaml@@ -188,11 +188,22 @@ jobs:uses: ./.github/workflows/actions/restore-cachewith:key: ${{ env.SERVER_SETUP_CACHE_KEY }}+ - name: Server / Build+ run: npx nx build twenty-server+ - name: Build dependencies+ run: |+ npx nx build twenty-shared+ npx nx build twenty-emails+ - name: Server / Create Test DB+ run: |+ PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres -d postgres -c 'CREATE DATABASE "test";'+ PG_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test npx nx run twenty-server:database:init:prod+ PG_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test npx nx run twenty-server:database:migrate:prod- name: Server / Run Integration Testsuses: ./.github/workflows/actions/nx-affectedwith:tag: scope:backend- tasks: 'test:integration:with-db-reset'+ tasks: 'test:integration --configuration=with-db-reset'- name: Server / Upload reset-logs fileif: always()uses: actions/upload-artifact@v4diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/constants/query-max-records.constant.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/constants/query-max-records.constant.tsindex e9e1c71915a..1deb47503fa 100644--- a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/constants/query-max-records.constant.ts+++ b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/constants/query-max-records.constant.ts@@ -1 +1 @@-export const QUERY_MAX_RECORDS = 60;+export const QUERY_MAX_RECORDS = 100;