diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 5e30136..7df8683 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -44,6 +44,29 @@ jobs: cd /opt/RFP_Finanzen rm -rf node_modules .next npm ci + + - name: Debug before build + if: gitea.event_name == 'push' + run: | + cd /opt/RFP_Finanzen + echo "PWD:" + pwd + + echo "src/lib:" + ls -la src/lib || true + + echo "tsconfig:" + cat tsconfig.json || true + + echo "next config:" + cat next.config.mjs || true + + echo "Check files:" + test -f src/lib/audit-log.ts && echo "audit-log OK" || echo "audit-log FEHLT" + test -f src/lib/domain.ts && echo "domain OK" || echo "domain FEHLT" + test -f src/lib/prisma.ts && echo "prisma OK" || echo "prisma FEHLT" + test -f src/lib/session.ts && echo "session OK" || echo "session FEHLT" + test -f src/lib/auth.ts && echo "auth OK" || echo "auth FEHLT" - name: Build app if: gitea.event_name == 'push'