How to use GitHub Actions & Release-It to Easily Release Your Code

Published: 22 August 2022
on channel: Kodaps Academy
6,776
121

Coding is all very well. But there comes a time when we need to compile the code we’ve produced and push the result out into the wild. Be it in the form of an app, a website, a program, a shared library, or an NPM module…

And that might start out simple to manage.

But as your project grows, so does the complexity of pushing out your code. The more moving parts there are, the more there are opportunities for something to break.

Forgetting any of those steps is a recipe for trouble. I’ve wasted hours trying to remember what to do, and how to solve the issue in the deployment process. The nightmare situation is when you’re trying to remember how to update a project you haven’t worked on for 3 months.

So, what is the answer?

On paper, the solution is simple: automate everything that can be.

And I have good news for you: there is a powerful tool that allows you to automate a lot of things. It’s called GitHub Actions. But it is daunting, so today we are going to look at :
how to use `release-it` and `auto-changelog` to script your release process
how to set up GitHub actions to automate the release process

And we're going to be updating an NPM module to explain the whole process

00:00 Introduction
01:04 How to set up release-it
03:03 release-it lifecycle hooks
04:39 How GitHub actions work?
05:46 GitHub actions first test
07:01 GitHub actions full setup
09:14 GitHub actions can do so much more!

---
Twitter:   / kodapsacademy  
Instagram:   / kodapsacademy  


Watch video How to use GitHub Actions & Release-It to Easily Release Your Code online without registration, duration hours minute second in high quality. This video was added by user Kodaps Academy 22 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,77 once and liked it 12 people.