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
Смотрите видео Fully Automated npm publish using GitHub Actions and Semantic Release онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bruno Antunes 12 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 28,135 раз и оно понравилось 694 людям.