mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 14:44:48 +00:00
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:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -39,8 +39,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
run_install: true
|
run_install: true
|
||||||
- run: echo '{"version":"v2","data":[]}' > apps/web/src/data/photos-manifest.json
|
- 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
|
- name: Type check
|
||||||
run: |
|
run: |
|
||||||
pnpm type-check
|
pnpm type-check
|
||||||
- run: pnpm vite build
|
|
||||||
working-directory: ./apps/web
|
|
||||||
|
|||||||
Reference in New Issue
Block a user