mirror of
https://github.com/tiennm99/thptqg.git
synced 2026-10-13 20:15:16 +00:00
refactor: remove Java code, move web app to project root
- Remove Gradle build, Java sources, Hibernate config, old database.sqlite - Move Excel data files from src/main/resources/raw/ to data/raw/ - Move Vite+React app from web/ to project root - Merge package.json into single root-level config - Update build script paths and CI workflow accordingly
This commit is contained in:
1 parent
00148c2748
commit
b9e16f63f8
150 files changed
+2662
-3383
No files matched your search
Vendored
+5
-13
@@ -19,38 +19,30 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
cache-dependency-path: |
|
||||
package-lock.json
|
||||
web/package-lock.json
|
||||
|
||||
- name: Install root dependencies
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build database
|
||||
run: npm run build:db
|
||||
|
||||
- name: Compress database
|
||||
run: gzip -k -9 web/public/thptqg2017.db
|
||||
|
||||
- name: Install web dependencies
|
||||
run: cd web && npm ci
|
||||
run: gzip -k -9 public/thptqg2017.db
|
||||
|
||||
- name: Build site
|
||||
run: cd web && npx vite build
|
||||
run: npm run build
|
||||
|
||||
- name: Remove uncompressed db from dist
|
||||
run: rm -f web/dist/thptqg2017.db
|
||||
run: rm -f dist/thptqg2017.db
|
||||
|
||||
- uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: web/dist
|
||||
path: dist
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
|
||||
Reference in new issue
Block a user