feat: remove dedicated test build and preview script (#661)

Co-authored-by: kolaente <k@knt.li>
This commit is contained in:
Dominik Pschenitschni
2025-04-15 10:01:10 +02:00
committed by GitHub
parent 59e2d7e650
commit 43c80a6b99
2 changed files with 2 additions and 4 deletions

View File

@@ -264,7 +264,7 @@ jobs:
- name: Build frontend for test
run: |
cd frontend
pnpm build:test
pnpm build
- name: Run api
env:
VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB
@@ -282,7 +282,7 @@ jobs:
browser: chrome
record: true
start: |
pnpm preview:test
pnpm run preview
wait-on: http://127.0.0.1:4173,http://127.0.0.1:3456/api/v1/info
wait-on-timeout: 10
env:

View File

@@ -28,9 +28,7 @@
"serve": "pnpm run dev",
"preview": "vite preview --port 4173",
"preview:dev": "vite preview --outDir dist-dev --mode development --port 4173",
"preview:test": "vite preview --port 4173 --outDir dist-test",
"build": "vite build && workbox copyLibraries dist/",
"build:test": "vite build --outDir dist-test && workbox copyLibraries dist-test/",
"build:dev": "vite build --mode development --outDir dist-dev/",
"lint": "eslint 'src/**/*.{js,ts,vue}'",
"lint:fix": "pnpm run lint --fix",