Skip to content

ci: add GitHub Action for atsds-egg (Jest) - #170

Merged
hzhangxyz merged 2 commits into
mainfrom
dev/update-github-action-for-atsds-egg
Dec 25, 2025
Merged

ci: add GitHub Action for atsds-egg (Jest)#170
hzhangxyz merged 2 commits into
mainfrom
dev/update-github-action-for-atsds-egg

Conversation

@hzhangxyz

Copy link
Copy Markdown
Member
  1. Summary 为新添加的 atsds-egg 库配置了 GitHub Action 自动化工作流。

  2. Changes

  • 新增 .github/workflows/egg-jest.yml
  • 配置了针对 Node.js 20, 22, 24 版本的 Jest 测试矩阵。
  • 添加了基于 Git Tag 的自动发布到 npm 的 Job (npm-egg)。
  • 遵循项目中 bnf-jest.ymljest.yml 的既有规范(缓存配置、工作目录设定等)。
  1. Verification
  • 已确认 egg/package.json 中的 all 脚本包含 buildtest
  • 路径和依赖缓存已正确指向 egg/ 目录。

1. Summary
为新添加的 `atsds-egg` 库配置了 GitHub Action 自动化工作流。

2. Changes
- 新增 `.github/workflows/egg-jest.yml`。
- 配置了针对 Node.js 20, 22, 24 版本的 Jest 测试矩阵。
- 添加了基于 Git Tag 的自动发布到 npm 的 Job (`npm-egg`)。
- 遵循项目中 `bnf-jest.yml` 和 `jest.yml` 的既有规范(缓存配置、工作目录设定等)。

3. Verification
- 已确认 `egg/package.json` 中的 `all` 脚本包含 `build` 和 `test`。
- 路径和依赖缓存已正确指向 `egg/` 目录。
@hzhangxyz
hzhangxyz merged commit 7966796 into main Dec 25, 2025
87 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