A workflow for the entire team
还没有人认领这个 Issue。
评估
调研方向
从新分支打开 .github/workflows/node.js.yml,并检查现有 workflow 的 Node.js 设置。将其构建目标限制为 Node.js 12.x 和 14.x,然后打开一个标题为“Improve CI”的 pull request;完成要求的 workflow 更改和 pull request 即表示完成。
由索引模型根据 Issue 内容生成。
描述
Custom workflow
Now that we've learned how to quickly set up CI, let's try a more realistic use case.
Our fictional team has a custom workflow that goes beyond the template we've used so far. We would like the following features:

Test against multiple targets so that we know if our supported operating systems and Node.js versions are working

Dedicated test job so that we can separate out build from test details

Access to build artifacts so that we can deploy them to a target environment

Branch protections so that the main branch can't be deleted or inadvertently broken

Required reviews so that any pull requests are double checked by teammates

Obvious approvals so we can merge quickly and potentially automate merges and deployments
Step 7: Create a custom GitHub Actions workflow
Can GitHub Actions support this workflow? Let's find out. We'll tackle some of the changes to the existing workflow file first.
⌨️ Activity: Edit the existing workflow with new build targets
- Edit your existing workflow file in a new branch
- In that file, target versions
12.xand14.xof Node, only - Open a new pull request titled Improve CI for your change.
I'll respond when you open the pull request.
- 主要语言
- JavaScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
distante/github-actions-for-ci 的其他 Issue
-
There's a bug!未关闭
难度 2/5 1-3 小时 新手友好度 35/100
查看 distante/github-actions-for-ci 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
ONLYOFFICE/DocumentServer#3917 ·
-
Flaky test: query-sql-streaming terminal memory guard misses the expected budget error可能已有人在做 @platypii 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 78/100
MillenniumMachines/MOS-nxt#62 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
xenharmonic-devs/scale-workshop#1005 ·