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+ with :
26+ package_json_file : MaiChartManager/Front/package.json
27+
28+ - name : Install and Build
29+ working-directory : MaiChartManager/Front
30+ run : |
31+ pnpm install
32+ pnpm build
33+
34+ - name : Upload wwwroot
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : wwwroot
38+ path : MaiChartManager/wwwroot
39+
1140 build :
1241 name : Build
1342 runs-on : self-hosted
43+ needs : build-frontend
1444
1545 steps :
1646 - run : git config --global core.longPaths true
4373 dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
4474 }
4575
76+ - name : Download wwwroot
77+ uses : actions/download-artifact@v4
78+ with :
79+ name : wwwroot
80+ path : MaiChartManager/wwwroot
4681
4782 - name : Build
4883 shell : powershell
90125
91126 # 3. 执行更新脚本
92127 & "D:\sign\mcm-canary-update.ps1" -Version $version
128+
129+ - name : Delete wwwroot artifact
130+ uses : geekyeggo/delete-artifact@v5
131+ with :
132+ 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