chengww
|
1a8b5f4977
|
ci: 加 setup-bun 让 lint:i18n 步骤能跑
package.json 里 lint:i18n = "bun scripts/check_i18n.ts",但 pr-check.yml
只装了 Node 没装 bun,I18n check 步骤报 sh: bun: not found。
之前这个错误被前两步(lint / typecheck)的失败遮住,前两步修了之后才暴露。
用官方 oven-sh/setup-bun 一步搞定,放在 setup-node 之后、install 之前。
|
2026-05-18 00:07:05 +08:00 |
|
chengww
|
95694057ec
|
ci: typecheck 前先跑 build 让 unplugin 生成自动 import d.ts
tsconfig.web.json 的 compilerOptions.types 显式 require
src/renderer/{auto-imports,components}.d.ts,这两个文件由
unplugin-auto-import / unplugin-vue-components 在 vite 启动时生成,
且被 .gitignore 排除(58922dc 维护者主动设置)。
CI 直接跑 typecheck 拿不到 d.ts 会报 TS2688,导致所有 PR 都过不了
Code Quality job。在 Type check 步骤前插入一次 npm run build 触发
unplugin 生成 d.ts,同时顺带验证 build 链路(一次到位,不增加额外
专用脚本,CI 多 30-60s 但能拦下 build 阶段的回归)。
本地验证:删除两个 d.ts 后跑 npm run build 重新生成,typecheck 通过。
|
2026-05-18 00:01:19 +08:00 |
|
alger
|
b0b3eb3326
|
ci: 移除 PR 检查中已删除的 dev_electron 分支
|
2026-04-11 22:53:17 +08:00 |
|
alger
|
4a50886a68
|
ci: 添加 PR 提交规范检查和 commitlint
- 添加 commitlint 及 Conventional Commits 规范配置
- 添加 commit-msg husky hook 本地校验提交信息
- 添加 GitHub Actions PR 检查 workflow:
- PR 标题符合 Conventional Commits
- 所有 commit message 符合规范
- ESLint + TypeScript 类型检查 + i18n 检查
|
2026-04-11 22:50:20 +08:00 |
|
alger
|
c5417a12ec
|
fix: CI 升级 Node.js 至 24,移除 lock 文件缓存依赖
|
2026-03-22 19:18:36 +08:00 |
|
alger
|
bf341fa7c8
|
feat(update): 重构自动更新系统,使用 electron-updater 替代手动下载
- CI 构建 macOS 拆分为 x64/arm64 分别构建,合并 latest-mac.yml
- 主进程使用 electron-updater 管理检查、下载、安装全流程
- 渲染进程 UpdateModal 改为响应式同步主进程更新状态
- IPC 通道统一为 app-update:* 系列
- 窗口拦截外部链接在系统浏览器打开
- 新增 5 语言更新相关国际化文案
|
2026-03-11 22:30:35 +08:00 |
|
alger
|
c08c2cbf19
|
refactor: 更新 eslint 和 prettier 配置 格式化代码
|
2025-07-23 23:54:35 +08:00 |
|
alger
|
a7cce28050
|
✨ feat: 在构建配置中添加对 Linux RPM 包的支持
|
2025-06-20 23:32:08 +08:00 |
|
algerkong
|
2f07550316
|
🔧 chore: 更新部署工作流,将主分支名称从 dev_electron 修改为 main
|
2025-05-03 23:54:16 +08:00 |
|
alger
|
4a66796747
|
🚀 chore: 优化 GitHub Actions Web 部署工作
|
2025-03-09 12:13:19 +08:00 |
|
alger
|
7f8ab8be7c
|
🔒 chore: 添加 GitHub 部署密钥到 .gitignore
|
2025-03-08 23:52:32 +08:00 |
|
alger
|
1ddbe6f24e
|
✨ feat: 修改 github action
|
2025-01-01 14:48:31 +08:00 |
|
alger
|
4d5bcba6c7
|
fix: update macOS build config
|
2025-01-01 14:42:19 +08:00 |
|
alger
|
f833306b60
|
✨ feat: 修改 github action
|
2025-01-01 14:31:27 +08:00 |
|
alger
|
a22285156a
|
✨ feat: 修改 github action 添加更新日志
|
2025-01-01 14:01:55 +08:00 |
|
alger
|
d1029f16d6
|
✨ feat: 修改 github action
|
2025-01-01 13:42:08 +08:00 |
|
alger
|
4908555635
|
✨ feat: 修改 github action
|
2025-01-01 13:34:36 +08:00 |
|
alger
|
a334743f6f
|
✨ feat: 添加 github action 自动 打包 发布
|
2025-01-01 13:14:56 +08:00 |
|
alger
|
c6f1e0b233
|
🌈 style: 修改issue模板
|
2024-05-21 11:36:06 +08:00 |
|
alger
|
7c1a3ae4bc
|
🌈 style: 添加issue模板
|
2024-05-21 11:33:57 +08:00 |
|