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",