chore: update build workflow to generate routes using Vite

- Added a step to build the web application using Vite, replacing the previous build command.
- Updated the workflow to ensure the correct generation of routes during the build process.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2026-01-11 22:47:39 +08:00
parent 08b045e176
commit e938237fa9

View File

@@ -39,8 +39,9 @@ jobs:
with:
run_install: true
- run: echo '{"version":"v2","data":[]}' > apps/web/src/data/photos-manifest.json
- name: Build web (generates routes)
run: pnpm exec vite build
working-directory: ./apps/web
- name: Type check
run: |
pnpm type-check
- run: pnpm vite build
working-directory: ./apps/web