Compare commits

..

1 commit

Author SHA1 Message Date
5c638d1920 fix(tests): start server for e2e tests
Some checks failed
container-scan / Container Scan (pull_request) Successful in 4m28s
docker-build / docker (pull_request) Successful in 6m30s
tests / Tests (pull_request) Failing after 7m57s
2025-05-13 11:10:14 +02:00
3 changed files with 2 additions and 7 deletions

View file

@ -1,4 +1,5 @@
AUTH_SECRET="auth_secret" AUTH_SECRET="auth_secret"
AUTH_URL="http://localhost:3000" AUTH_URL="http://localhost:3000"
HOSTNAME=0.0.0.0
DATABASE_URL="file:./dev.db" DATABASE_URL="file:./dev.db"
AUTH_AUTHENTIK_ISSUER="auth_issuer" AUTH_AUTHENTIK_ISSUER="auth_issuer"

View file

@ -33,9 +33,3 @@ jobs:
build: yarn run build build: yarn run build
start: yarn cypress:start_server start: yarn cypress:start_server
component: true component: true
- name: Clean up Docker
if: always()
run: |
docker system prune -af --filter "until=24h"
docker volume prune -f

View file

@ -8,7 +8,7 @@
"start": "node .next/standalone/server.js", "start": "node .next/standalone/server.js",
"lint": "next lint", "lint": "next lint",
"format": "prettier --write .", "format": "prettier --write .",
"cypress:start_server": "cp .next/static/ .next/standalone/.next/ -r && dotenv -e .env.test -- node .next/standalone/server.js", "cypress:start_server": "cp public .next/standalone/ -r && cp .next/static/ .next/standalone/.next/ -r && dotenv -e .env.test -- node .next/standalone/server.js",
"cypress:open": "cypress open", "cypress:open": "cypress open",
"cypress:run": "cypress run" "cypress:run": "cypress run"
}, },