twenty/.github/workflows
Charles Bochet 15eb3e7edc
feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409)
## Summary

- **Config as source of truth**: `~/.twenty/config.json` is now the
single source of truth for SDK authentication — env var fallbacks have
been removed from the config resolution chain.
- **Test instance support**: `twenty server start --test` spins up a
dedicated Docker instance on port 2021 with its own config
(`config.test.json`), so integration tests don't interfere with the dev
environment.
- **API key auth for marketplace**: Removed `UserAuthGuard` from
`MarketplaceResolver` so API key tokens (workspace-scoped) can call
`installMarketplaceApp`.
- **CI for example apps**: Added monorepo CI workflows for `hello-world`
and `postcard` example apps to catch regressions.
- **Simplified CI**: All `ci-create-app-e2e` and example app workflows
now use a shared `spawn-twenty-app-dev-test` action (Docker-based)
instead of building the server from source. Consolidated auth env vars
to `TWENTY_API_URL` + `TWENTY_API_KEY`.
- **Template publishing fix**: `create-twenty-app` template now
correctly preserves `.github/` and `.gitignore` through npm publish
(stored without leading dot, renamed after copy).

## Test plan

- [x] CI SDK (lint, typecheck, unit, integration, e2e) — all green
- [x] CI Example App Hello World — green
- [x] CI Example App Postcard — green
- [x] CI Create App E2E minimal — green
- [x] CI Front, CI Server, CI Shared — green
2026-04-08 06:49:10 +02:00
..
cd-deploy-main.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
cd-deploy-tag.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
changed-files.yaml Migrate from ESLint to OxLint (#18443) 2026-03-06 01:03:50 +01:00
ci-ai-catalog-sync.yaml chore: trigger automerge for AI catalog sync PRs (#18855) 2026-03-23 13:33:19 +01:00
ci-breaking-changes.yaml Replace twentycrm/twenty-postgres-spilo with official postgres:16 in CI (#19182) 2026-03-31 21:41:42 +02:00
ci-create-app-e2e-hello-world.yaml feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409) 2026-04-08 06:49:10 +02:00
ci-create-app-e2e-minimal.yaml feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409) 2026-04-08 06:49:10 +02:00
ci-create-app-e2e-postcard.yaml feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409) 2026-04-08 06:49:10 +02:00
ci-create-app.yaml Migrate from ESLint to OxLint (#18443) 2026-03-06 01:03:50 +01:00
ci-docs.yaml Migrate from ESLint to OxLint (#18443) 2026-03-06 01:03:50 +01:00
ci-emails.yaml Re-enable disabled lint rules and right-size CI runners (#18461) 2026-03-06 13:33:02 +00:00
ci-example-app-hello-world.yaml feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409) 2026-04-08 06:49:10 +02:00
ci-example-app-postcard.yaml feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409) 2026-04-08 06:49:10 +02:00
ci-front-component-renderer.yaml [SDK] Extract twenty-front-component-renderer outside of twenty-sdk ( 2.8MB ) (#19021) 2026-03-30 17:06:06 +00:00
ci-front.yaml feat: Send email from UI — inline reply composer & SendEmail mutation (#19363) 2026-04-07 08:43:48 +02:00
ci-merge-queue.yaml Replace twentycrm/twenty-postgres-spilo with official postgres:16 in CI (#19182) 2026-03-31 21:41:42 +02:00
ci-release-create.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
ci-release-merge.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
ci-sdk.yaml feat(sdk): use config file as single source of truth, remove env var fallbacks (#19409) 2026-04-08 06:49:10 +02:00
ci-server.yaml Refactor typeorm migration lifecycle and generation (#19275) 2026-04-06 07:11:47 +00:00
ci-shared.yaml Re-enable disabled lint rules and right-size CI runners (#18461) 2026-03-06 13:33:02 +00:00
ci-test-docker-compose.yaml Improve getting started doc (#19138) 2026-04-01 20:39:44 +00:00
ci-ui.yaml Fix visual regression dispatch for fork PRs (#18921) 2026-03-24 18:13:00 +01:00
ci-utils.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
ci-website.yaml Replace twentycrm/twenty-postgres-spilo with official postgres:16 in CI (#19182) 2026-03-31 21:41:42 +02:00
ci-zapier.yaml Replace twentycrm/twenty-postgres-spilo with official postgres:16 in CI (#19182) 2026-03-31 21:41:42 +02:00
claude.yml Migrate from ESLint to OxLint (#18443) 2026-03-06 01:03:50 +01:00
docs-i18n-pull.yaml chore: improve i18n workflow to prevent stale compiled translations (#18850) 2026-03-23 12:53:31 +01:00
docs-i18n-push.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
i18n-pull.yaml chore: improve i18n workflow to prevent stale compiled translations (#18850) 2026-03-23 12:53:31 +01:00
i18n-push.yaml chore: improve i18n workflow to prevent stale compiled translations (#18850) 2026-03-23 12:53:31 +01:00
post-ci-comments.yaml Harden GitHub Actions: fix injections, isolate privileged operations to ci-privileged repo (#18318) 2026-03-02 10:57:14 +01:00
preview-env-dispatch.yaml Migrate CI runners from Depot back to GitHub-hosted runners (#18347) 2026-03-03 14:14:27 +01:00
preview-env-keepalive.yaml fix: invalidate rolesPermissions cache + add Docker Hub auth to CI (#19044) 2026-03-27 17:32:53 +01:00
visual-regression-dispatch.yaml Fix visual regression dispatch for fork PRs (#18921) 2026-03-24 18:13:00 +01:00