mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
[BUG] Include .vite subdir in PUI releases (#6973)
* use yarn to build * use different path annotation * fix path * include vite explicitly
This commit is contained in:
parent
94478a5fb2
commit
3b87c84ae7
4
.github/workflows/qc_checks.yaml
vendored
4
.github/workflows/qc_checks.yaml
vendored
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user