Это видео недоступно.
Сожалеем об этом.
How to use GitHub Actions & Release-It to Easily Release Your Code
HTML-код
- Опубликовано: 15 авг 2024
- 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
Would love to see another video on this topic!
I really enjoy your videos. You do such a good job explaining things and do so thoroughly, without being tedious. I also really like the way you do your lighting. Great job all around!
Thanks for being so encouraging, it's really appreciated!
this is the best video on this topic by far , ilike your style , you even put the githhub website in darkmode and didn't flash bang us , been toying aroud with publishing an a npm package and it's quite the blindspot most of the tutorials are either not good , too basic or just gloss over the hard bits , thank you for this one
Thanks a lot
Was just getting started on Github actions. Great breakdown. 🥂
I’m glad you liked it, thanks for the kind words :)
But if you want to bump major or minor version, how do I do that??
Loved you're videos, keep going.!!
Glad you like them, thanks for the kind words :)
Great video, just the sound effects are a bit too loud :D
If am setting the GITLAB_TOKEN=my_token and running npm run release it its asking for the authenticate we are using the company issue may I know the error ?
Could you copy paste the exact error you are having ?
Hi one more issue am facing while setting the proxy server the release is internally using the got library for calling the steps in the release it the got is not able to pass the proxy server is there any way to set the proxy for gitlab release it