Refactor CI/CD workflows and configuration files

- Removed unused network configurations from docker-compose.yml.
- Added production-specific Jest configuration in jest.config.production.ts for better test management.
- Updated jest.config.ts to include production build fixes and module resolution improvements.
- Enhanced jest.setup.ts to mock React's act function for production builds.
- Introduced new CI/CD workflows for Gitea, focusing on reliability and zero downtime deployments.
- Added scripts for debugging Gitea Actions and verifying environment variables.

These changes streamline the CI/CD process and improve testing capabilities.
This commit is contained in:
2025-10-15 16:07:35 +02:00
parent 9f305d3e78
commit 6680d707f1
13 changed files with 722 additions and 5 deletions

View File

@@ -22,7 +22,6 @@ services:
- portfolio_data:/app/.next/cache
networks:
- portfolio_net
- proxy
depends_on:
postgres:
condition: service_healthy
@@ -95,6 +94,4 @@ volumes:
networks:
portfolio_net:
driver: bridge
proxy:
external: true
driver: bridge