[重构] 前端改造v1

This commit is contained in:
ryan
2026-03-11 12:47:08 +08:00
parent 052e3e98f8
commit 6eea676f8f
71 changed files with 3619 additions and 8791 deletions
+4 -3
View File
@@ -18,12 +18,13 @@ jobs:
CI: ""
run: |
cd atsf_server/web
npm install
npm run build
corepack enable
pnpm install --frozen-lockfile
pnpm build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: web/build # The folder the action should deploy.
FOLDER: atsf_server/web/build # The folder the action should deploy.
+4 -3
View File
@@ -56,7 +56,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Build Frontend
env:
@@ -64,8 +64,9 @@ jobs:
VERSION: ${{ needs.prepare.outputs.version }}
run: |
cd atsf_server/web
npm install
REACT_APP_VERSION="$VERSION" npm run build
corepack enable
pnpm install --frozen-lockfile
NEXT_PUBLIC_APP_VERSION="$VERSION" pnpm build
- name: Upload Frontend Artifact
uses: actions/upload-artifact@v4