Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A workflow for the entire team #4

Open
github-learning-lab bot opened this issue Jan 28, 2022 · 0 comments
Open

A workflow for the entire team #4

github-learning-lab bot opened this issue Jan 28, 2022 · 0 comments

Comments

@github-learning-lab
Copy link
Contributor

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:

an icon of three gears

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

icon of gears indicating relationship between multiple jobs

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

icon of a binary file

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

icon of a security shield indicating branch protections

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

icon of a review approval

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

icon of a review approval

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

  1. Edit your existing workflow file in a new branch
  2. In that file, target versions 12.x and 14.x of Node, only
  3. Open a new pull request titled Improve CI for your change.

I'll respond when you open the pull request.

This was referenced Jan 28, 2022
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

No branches or pull requests

0 participants