English | 简体中文
React Component 组织共享的 GitHub Actions 工作流模板。
- 进入目标仓库的 Actions 页面。
- 如果仓库已有工作流,点击 New workflow。
- 选择 React Component 提供的模板并按需提交。
当前推荐新仓库直接使用 rc-test 中的 reusable workflow:
jobs:
test:
uses: react-component/rc-test/.github/workflows/test-utoo.yml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}MIT License。详见 LICENSE。