Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

CI #2 - Starting out with GitHub Actions

Follow
Swashbuckling with Code

Github Actions are an easy way to get started with Continuous Integration. You used to have to rely on services like Travis CI, Circle CI, etc. but now the main repository hosts have CI built into their platform.

In this video we'll setup a basic Node JS project and add ESLint to it. Then we'll set up a Github Action to run our `lint` script on every git push. I'll also show how it works with pull requests, and how to block pull requests in GitHub from being merged if they fail any checks.

~~~~~~

RESOURCES

Playlist:
   • Continuous Integration (CI/CD)  

Repository:
https://github.com/Jimmydalecleveland...

GitHub CLI:
https://cli.github.com/

GitHub Actions Documentation:
https://docs.github.com/en/actions

~~~~~~

00:00 Intro and project setup
03:20 Adding ESLint
05:46 Creating the repo with GitHub CLI
07:17 Our first Github Action
16:34 Showing Actions in a Pull Request
21:09 Blocking merges when Actions fail
22:41 Passing the check and merging the PR
24:12 Wrapup

~~~~~~

Follow Jimmy Cleveland's doings:
twitter:   / jimmydcleveland  
blog: https://blog.jimmydc.com/

posted by smskahr