featï: support embed build\

This commit is contained in:
engigu
2024-01-02 11:50:54 +08:00
parent 54b6f0b977
commit 139aece563
9 changed files with 60 additions and 70 deletions
+4 -2
View File
@@ -14,8 +14,10 @@ permissions:
jobs:
build:
build-and-release:
runs-on: ubuntu-latest
env:
NODE_ENV: prod
steps:
- name: Checkout repository
@@ -26,7 +28,7 @@ jobs:
working-directory: web/
- name: Run npm build
run: npm run build
run: export NODE_ENV=prod && npm run build
working-directory: web/
- name: Check build static