try to add e2e job

This commit is contained in:
Ildar Kamalov
2025-01-31 15:37:49 +03:00
parent 7f85a04257
commit 236708f2e4
4 changed files with 29 additions and 2 deletions

View File

@@ -69,7 +69,9 @@ export default defineConfig({
],
webServer: {
command: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
command: process.env.CI
? 'rm -f AdGuardHome.yaml && ./AdGuardHome --local-frontend -v'
: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
url: 'http://127.0.0.1:3000',
cwd: '..',
reuseExistingServer: !process.env.CI,