diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 41817ca72b..678bd008ac 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -531,11 +531,11 @@ jobs: - name: Install dependencies run: cd src/frontend && yarn install - name: Build frontend - run: cd src/frontend && npm run compile && npm run build + run: cd src/frontend && yarn run compile && yarn run build - name: Zip frontend run: | cd src/backend/InvenTree/web/static - zip -r frontend-build.zip web/ + zip -r frontend-build.zip web/ web/.vite - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # pin@v4.3.1 with: name: frontend-build diff --git a/src/frontend/vite.config.ts b/src/frontend/vite.config.ts index c5b58e384d..a5c2b8abf2 100644 --- a/src/frontend/vite.config.ts +++ b/src/frontend/vite.config.ts @@ -26,7 +26,7 @@ export default defineConfig({ includePrivate: true, multipleVersions: true, output: { - file: '../../InvenTree/web/static/web/.vite/dependencies.json', + file: '../backend/InvenTree/web/static/web/.vite/dependencies.json', template(dependencies) { return JSON.stringify(dependencies); }