From e938237fa9f2d1ecac6697784810422349958d9b Mon Sep 17 00:00:00 2001 From: Innei Date: Sun, 11 Jan 2026 22:47:39 +0800 Subject: [PATCH] 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 --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eab8ceab..12e7d1eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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