From eb907d5d35a0350b7447ec893f56a3de4e66a5b1 Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Tue, 9 Jul 2024 13:05:53 +0200 Subject: [PATCH] ci: use --host for ci test run for gh-actions to work --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 00f2e93..332b9d9 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "release": "standard-version", "pretest:ci": "rimraf .nyc_output coverage", "test": "cypress open", - "test:ci": "CYPRESS_COVERAGE=true start-server-and-test dev http://localhost:5173/ 'cypress run -q && cypress run --component -q'", + "test:ci": "CYPRESS_COVERAGE=true start-server-and-test 'npx vite --host' http://localhost:5173/ 'cypress run -q && cypress run --component -q'", "test:e2e": "cypress open --e2e", "test:e2e:ci": "start-server-and-test dev http://localhost:5173/ 'cypress run -q'", "test:unit": "cypress open --component",