overtrue
2216caac75
fix: remove deprecated server config fetch and fix CI workflow
...
- Remove deprecated fetchConfigFromServer function
- Update getConfig to use localStorage > browser > default priority
- Fix GitHub Actions workflow: remove unnecessary dependency installation, upgrade CodeQL to v4, use proper test commands
- Add JUnit reporter to vitest config for CI test results
- Update tests to reflect new configuration priority (no server config)
- All 167 tests passing
2026-01-20 21:35:01 +08:00
overtrue
b7c6517f0b
fix: remove hardcoded pnpm version from GitHub Actions workflows
...
- Remove hardcoded pnpm version from all workflow files
- Let pnpm/action-setup automatically read version from package.json packageManager field
- This ensures consistency with package.json and avoids version mismatch errors
- Fixes CI error: Multiple versions of pnpm specified
2026-01-20 21:25:38 +08:00
overtrue
c9e4fb1d71
docs: translate .github/README.md to English and fix npm audit commands
...
- Translate all Chinese content in .github/README.md to English
- Fix npm audit command in test.yml to use detected package manager
- Update dependencies.yml documentation to reference pnpm audit
- Ensure all CI/CD documentation is in English
2025-11-01 00:35:36 +08:00
overtrue
29096d6e38
chore: remove performance tests from CI/CD pipelines
...
- Delete tests/utils/config-helpers.performance.test.ts
- Remove performance-tests job from test.yml
- Remove benchmarks job from quality.yml
- Remove test:performance script from package.json
- Update all workflow dependencies and summaries
- Update documentation to remove performance test references
2025-11-01 00:19:09 +08:00
overtrue
11ec640849
fix: add missing package manager detection in benchmarks job
...
- Add detect-package-manager step to benchmarks job
- Add pnpm setup step
- Fix cache configuration to use detected package manager
- Resolves exit code 127 error in CI/CD pipeline
2025-11-01 00:16:02 +08:00
overtrue
e51353a617
fix: 为所有 GitHub Actions 工作流添加 pnpm 支持
...
- 修复 build.yml、test.yml、release.yml、dependencies.yml、quality.yml
- 添加包管理器自动检测逻辑(pnpm > yarn > npm)
- 使用 pnpm/action-setup@v4 安装 pnpm
- 更新所有 npm 命令为动态包管理器命令
- 修复缓存配置以支持 pnpm
2025-10-31 23:49:50 +08:00
overtrue
1fb5677fae
chore: 移除浏览器兼容性测试
...
- 移除 browser-tests job 及相关配置
- 移除 Playwright 依赖
- 更新 test-summary 依赖关系
- 清理测试报告中的浏览器测试状态
浏览器兼容性测试暂时不需要,简化 CI/CD 流程
2025-10-07 23:57:15 +08:00
overtrue
5f2e25428e
💄 style: 统一 GitHub Actions 工作流文件的引号风格
...
- 将所有单引号统一改为双引号
- 格式化 needs 数组为多行格式提高可读性
2025-10-07 23:26:42 +08:00
overtrue
86367af9f4
⬆️ chore: 升级 CI/CD 工作流 Node.js 版本至 22
...
- 将所有工作流文件中的 Node.js 版本从 18 升级到 22
- test.yml: 更新单元测试矩阵为 [20, 22]
- release.yml: 更新环境变量 NODE_VERSION 为 22
- quality.yml: 更新所有代码质量检查任务的 Node 版本
- dependencies.yml: 更新依赖管理任务的 Node 版本
2025-10-07 23:24:12 +08:00
overtrue
f05935114a
🐛 fix: 修复 GitHub Actions 工作流 YAML 语法错误
...
- 修复 dependencies.yml 中多行字符串缩进不一致的问题
- 将 commit-message 改为单行字符串格式
- 修复 reviewers 字段的空值语法
- 确保所有 YAML 文件符合严格的语法规范
- 通过 prettier 格式化所有工作流文件
2025-10-07 23:19:01 +08:00
overtrue
42b6f36acd
✨ feat: 添加完整的测试套件和 CI/CD 流水线
...
🧪 测试套件:
- 添加 62 个测试用例(单元 + 集成 + 性能测试)
- 达到 98.5% 代码覆盖率(语句)
- 达到 93.5% 分支覆盖率
- 达到 100% 函数覆盖率
- 包含完整的 Mock 和测试工具
🚀 CI/CD 流水线:
- 测试流水线:多版本测试、覆盖率报告、浏览器兼容性
- 质量流水线:代码格式、类型检查、依赖安全、复杂度分析
- 发布流水线:自动构建、部署、GitHub Release 创建
- 依赖管理:自动安全审计、依赖更新、测试验证
📚 文档和模板:
- PR 模板和 Issue 模板
- 完整的 CI/CD 使用文档
- 测试套件说明文档
🔧 配置优化:
- 重构 config-helpers.ts 模块
- 改进类型定义和错误处理
- 优化配置获取逻辑和性能
2025-10-07 22:56:36 +08:00
junxiang Mu
c019276fcb
add kms
...
Signed-off-by: junxiang Mu <1948535941@qq.com >
2025-09-22 14:31:07 +08:00
安正超
669c9c1d3d
Update build.yml
2025-03-16 20:10:05 +08:00
安正超
fe2fbe687b
Update build.yml
2025-03-16 15:25:35 +08:00
overtrue
f169cded50
ci: 改为 zip 格式
2025-03-01 22:24:39 +08:00
overtrue
8da93ec63e
ci: 改为 zip 格式
2025-03-01 22:22:07 +08:00
overtrue
81610e7681
feat: file prefix
2025-02-23 17:07:04 +08:00
overtrue
f64dd41f8b
feat: file prefix
2025-02-23 17:01:00 +08:00
overtrue
04a686341c
feat: build for release
2025-02-23 16:56:37 +08:00
overtrue
9638832e73
feat: build for release
2025-02-23 16:50:38 +08:00
overtrue
95e4ec61d2
fix: tar file
2025-02-23 16:35:45 +08:00
overtrue
a057b437b8
feat: build for release
2025-02-23 16:31:13 +08:00
overtrue
f4f8fbb6f8
fix: tar file
2025-02-23 16:25:27 +08:00
overtrue
7e14d13363
fix: tar file
2025-02-23 16:23:02 +08:00
overtrue
3ebb225030
fix: bucket name
2025-02-23 16:20:19 +08:00
安正超
a8eeced252
Create build.yml
2025-02-23 15:58:43 +08:00