Skip to content

chore(repo): 完善仓库维护与自动化 - #108

Merged
Awuqing merged 2 commits into
mainfrom
chore/repository-maintenance
Aug 9, 2026
Merged

chore(repo): 完善仓库维护与自动化#108
Awuqing merged 2 commits into
mainfrom
chore/repository-maintenance

Conversation

@Awuqing

@Awuqing Awuqing commented Aug 9, 2026

Copy link
Copy Markdown
Owner

变更说明

  • 将 CI、Docker 和本地贡献环境从已停止支持的 Node.js 20 统一升级到 Node.js 24 LTS,并同步 Node 类型声明
  • 在 PR 阶段执行文档类型检查与中英文生产构建;强化 CI 的 gofmt、go vet、模块校验、并发取消和超时
  • 为 Release 增加 SemVer 输入校验、发布前测试、最小权限和并发保护
  • 增加 Dependabot、EditorConfig、Git 属性、完整忽略规则及 CI/Docs 状态徽章
  • 完善安全策略、Issue/PR 模板与贡献规范,移除错误的 Discussions 链接和 Emoji
  • 移除 TypeScript 增量缓存及过期 Vite 编译产物,修正前端类型检查流程
  • 统一 14 个既有 Go 文件的 gofmt 格式

验证

  • Node.js 24.19.0:npm ci
  • 前端:15 个测试文件、35 项测试通过,npm run build 成功
  • 文档:npm run typecheck 与英文/zh-Hans 生产构建成功
  • Go 1.25.12:受影响包测试通过
  • Go 1.25.12 / Linux:go vet ./... 和全部测试包编译通过
  • actionlint 1.7.12:全部 GitHub Actions 工作流通过
  • YAML、JSON、锁文件、git diff --check、gofmt 与 Emoji 扫描通过

依赖审计说明

  • Web 仍有 2 个中危告警,安全修复要求 React Router 7 的破坏性升级
  • Docusaurus 3.10.2 已是当前最新版,npm 仍报告其传递依赖链告警
  • 本 PR 未使用 npm audit fix --force;Dependabot 将后续升级拆分为可审查 PR

@Awuqing
Awuqing marked this pull request as ready for review August 9, 2026 13:18
@Awuqing
Awuqing merged commit 9080a47 into main Aug 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant