Watch: Check every push automatically with GitHub Actions | Vovy

Watch Vovy do it on a Mac: "Set up GitHub Actions to build and test my app on every pull request". Vovy writes a GitHub Actions workflow that installs, lints, builds and tests your app on every push and PR, and explains the results.

"Set up GitHub Actions to build and test my app on every pull request"

Vovy writes a GitHub Actions workflow that installs, lints, builds and tests your app on every push and PR, and explains the results.

What happens in the video

  1. Read your scripts: Vovy reads package.json to find your lint, build and test commands, and your Node version.
  2. Write the workflow: Vovy creates .github/workflows/ci.yml. GitHub Actions is a free robot that runs these commands on GitHub's computers every time you push.
  3. Push and watch it run: Vovy pushes on a branch and opens the Actions tab, narrating each step as the job runs.
  4. Fix the first failures: First runs often fail on missing env variables or a lint error. Vovy reads the log and fixes the cause.
  5. Make it a required check: Vovy shows a green run card and offers to require it before merging, so broken code cannot reach main.
Read the step-by-step guide