mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-29 02:49:55 -05:00
feat: remove dedicated test build and preview script (#661)
Co-authored-by: kolaente <k@knt.li>
This commit is contained in:
committed by
GitHub
parent
59e2d7e650
commit
43c80a6b99
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user