Revert "clean up e2e github workflow"

This reverts commit 96975ed9115c877ce18783f717a17d7d095b533b.
This commit is contained in:
mahula 2025-09-30 20:20:06 +02:00
parent 96975ed911
commit 0dce5731b5

View File

@ -31,6 +31,13 @@ jobs:
npm run build
working-directory: ./app
- name: Clean Database State
run: |
# Remove any existing database data to ensure fresh state
sudo rm -rf ./data/database
mkdir -p ./data/uploads
sudo chmod 777 -R ./data
- name: Build and start all Containers
run: docker compose up -d
@ -47,6 +54,12 @@ jobs:
cd backend && ./seed.sh
working-directory: ./
- name: Wait for Application to be Ready
run: |
echo "Waiting for application to be ready..."
timeout 300 bash -c 'until curl -f http://localhost:8080/login; do sleep 5; done'
echo "Application is ready!"
- name: Health Check
run: |
echo "Frontend health check:"