feat: 更新 Playwright 工作流,增加以KB为单位的构建大小统计

This commit is contained in:
mini2024
2025-03-22 23:54:24 +08:00
parent d23fcd72c7
commit bee73670b7

View File

@@ -24,6 +24,7 @@ jobs:
echo "----------------------------------------" echo "----------------------------------------"
echo "🔹 人类可读格式: $(du -sh dist | cut -f1)" echo "🔹 人类可读格式: $(du -sh dist | cut -f1)"
echo "🔹 以MB为单位: $(du -sm dist | cut -f1) MB" echo "🔹 以MB为单位: $(du -sm dist | cut -f1) MB"
echo "🔹 以KB为单位: $(du -sk dist | cut -f1) KB"
echo "🔹 文件总数: $(find dist -type f | wc -l) 个文件" echo "🔹 文件总数: $(find dist -type f | wc -l) 个文件"
echo "----------------------------------------" echo "----------------------------------------"
- name: 部署到 Surge - name: 部署到 Surge