From 45e25d1fd92d022542c879c316cb5504c4d5a973 Mon Sep 17 00:00:00 2001 From: Jan-Paul Kleemans Date: Mon, 20 Nov 2023 16:19:37 +0100 Subject: [PATCH] Fix using correct directories --- .github/workflows/e2e.yml | 4 ++-- package.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index e4e4afd..2e5fae9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -18,7 +18,7 @@ jobs: cd test-app npm install npm install vite-svg-loader --save-dev + npm run build - uses: cypress-io/github-action@v6 with: - build: cd test-app && npm run build - start: cd test-app && npm run preview + start: npm run test:preview diff --git a/package.json b/package.json index 62b4055..53233a3 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ "scripts": { "lint": "standard --fix", "cypress": "cypress run", - "example:build": "cd ./example && npm ci && npm run build", - "example:preview": "cd ./example && npm run preview -- --host" + "test:preview": "cd ./test-app && npm run preview -- --host" }, "repository": { "type": "git",