Commit c5d8c22
committed
ci(workflow): 添加代码格式和质量检查的GitHub Actions配置
- 新增GitHub Actions工作流文件lint.yml
- 配置在main和master分支的push和pull_request事件触发
- 设置运行环境为最新Ubuntu并安装Node.js 20
- 包含npm依赖安装步骤
- 增加格式检查、代码质量检查、类型检查和测试执行步骤
- 通过自动化保证代码质量和一致性1 parent 3d3740f commit c5d8c22
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments