Fully automated release!!! semantic-release automates the whole package release workflow including: determining the next version number, generating the release notes and publishing the package.
This removes the immediate connection between human emotions and version numbers, strictly following the Semantic Versioning specification.
semantic-release is meant to be executed on the CI environment after every successful build on the release branch. This way no human is directly involved in the release process and the releases are guaranteed to be unromantic and unsentimental.
GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub.
Helpful URLs:
syntax for GitHub Actions: https://docs.github.com/en/actions/re...
add ifs in GitHub Actions: https://docs.github.com/en/actions/re...
Commitizen: https://commitizen-tools.github.io/co...
semantic-release: https://github.com/semantic-release/s...
My GitHub repository URL: https://github.com/bmvantunes/youtube...
Published Package: https://www.npmjs.com/package/your-pa...
Timeline:
00:00 Introduction
00:38 Create project using tsdx and git push to GitHub
01:46 Create our first GitHub Action
06:50 Setup semantic-release
11:30 Setup commitizen
14:34 Create publish job inside GitHub Actions using semantic-release
22:26 How to handle Pull Requests and Merges in order to keep semantic-release "happy" :)
----
Follow me on:
Twitter: / bmvantunes
Dev.to: https://dev.to/bmvantunes
Website: https://brunoantunes.net
GitHub: https://github.com/bmvantunes
LinkedIn: / bmvantunes
Watch video Fully Automated npm publish using GitHub Actions and Semantic Release online without registration, duration hours minute second in high quality. This video was added by user Bruno Antunes 12 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 28,135 once and liked it 694 people.