File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ defaults :
12+ run :
13+ working-directory : frontend
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : 22
20+ cache : npm
21+ cache-dependency-path : frontend/package-lock.json
22+
23+ - name : 安装依赖
24+ run : npm ci
25+ env :
26+ ELECTRON_SKIP_BINARY_DOWNLOAD : 1
27+
28+ - name : 类型检查
29+ run : npm run typecheck
30+
31+ - name : 单元测试
32+ run : npm test
33+
34+ - name : 构建渲染层
35+ run : npx vite build
36+
37+ - name : 构建主进程
38+ run : npx tsc -p tsconfig.electron.json
Original file line number Diff line number Diff line change 11# ⚡ Taskflow
22
3+ [ ![ License: MIT] ( https://img.shields.io/github/license/GaIIagherdev/taskflow )] ( LICENSE )
4+ [ ![ CI] ( https://github.com/GaIIagherdev/taskflow/actions/workflows/ci.yml/badge.svg )] ( https://github.com/GaIIagherdev/taskflow/actions/workflows/ci.yml )
5+ [ ![ GitHub stars] ( https://img.shields.io/github/stars/GaIIagherdev/taskflow )] ( https://github.com/GaIIagherdev/taskflow )
6+
37面向** 中文新手用户** 的 GitHub Actions 定时任务桌面应用。
48
59装一个 App,像聊天一样说出你的需求("每天早上 8 点播报上海天气"),剩下的交给 GitHub——App 会自动把你的任务翻译成 GitHub Actions workflow,推送到你的私有仓库里执行。全程不需要写代码、不需要懂 YAML。
610
711UI 采用 ** Codex Desktop 风格** (暖炭黑 + 米白 + 单色中性配色,参考 LiveStudio 的视觉规范),支持深色 / 浅色主题切换。
812
13+ ![ Taskflow 预览] ( frontend/docs/preview.png )
14+
915## 快速开始
1016
1117一键启动(自动安装依赖、编译 Electron 主进程、同时启动 Vite 和 Electron):
@@ -25,6 +31,10 @@ npm run dev # 仅浏览器
2531npm test # 单元测试(流程编译、摘要提取、workflow 生成)
2632```
2733
34+ ## 参与贡献
35+
36+ 欢迎提 PR!开发环境、代码约定和安全须知见 [ CONTRIBUTING.md] ( CONTRIBUTING.md ) 。
37+
2838## 使用步骤(新手版)
2939
30401 . 打开 App,进入「设置」
You can’t perform that action at this time.
0 commit comments