File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010jobs :
11+ build-frontend :
12+ name : Build Frontend
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 24'
22+
23+ - name : Install pnpm
24+ uses : pnpm/action-setup@v4
25+
26+ - name : Install and Build
27+ working-directory : MaiChartManager/Front
28+ run : |
29+ pnpm install
30+ pnpm build
31+
32+ - name : Upload wwwroot
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : wwwroot
36+ path : MaiChartManager/wwwroot
37+
1138 build :
1239 name : Build
1340 runs-on : self-hosted
41+ needs : build-frontend
1442
1543 steps :
1644 - run : git config --global core.longPaths true
4371 dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
4472 }
4573
74+ - name : Download wwwroot
75+ uses : actions/download-artifact@v4
76+ with :
77+ name : wwwroot
78+ path : MaiChartManager/wwwroot
4679
4780 - name : Build
4881 shell : powershell
90123
91124 # 3. 执行更新脚本
92125 & "D:\sign\mcm-canary-update.ps1" -Version $version
126+
127+ - name : Delete wwwroot artifact
128+ uses : geekyeggo/delete-artifact@v5
129+ with :
130+ name : wwwroot
Original file line number Diff line number Diff line change 2626 "@types/wicg-file-system-access" : " ^2023.10.7" ,
2727 "@unocss/preset-icons" : " ^66.6.2" ,
2828 "@unocss/reset" : " ^66.6.2" ,
29- "@vitejs/plugin-vue" : " ^6.0 .4" ,
30- "@vitejs/plugin-vue-jsx" : " ^5.1.4 " ,
29+ "@vitejs/plugin-vue" : " ^5.2 .4" ,
30+ "@vitejs/plugin-vue-jsx" : " ^4.2.0 " ,
3131 "@vueuse/core" : " ^14.2.1" ,
3232 "@zip.js/zip.js" : " ^2.8.21" ,
3333 "animate.css" : " ^4.1.1" ,
4646 "unity-webgl" : " ^4.4.3" ,
4747 "unocss" : " ^66.6.2" ,
4848 "virtua" : " ^0.48.6" ,
49- "vite" : " ^7.3 .1" ,
49+ "vite" : " ^6.4 .1" ,
5050 "vite-svg-loader" : " ^5.1.0" ,
5151 "vue" : " ^3.5.29" ,
5252 "vue-contenteditable" : " ^4.1.0" ,
You can’t perform that action at this time.
0 commit comments