You answered all my questions about versioning with semantic release. That’s is an amazing content and I’m going to subscribe right now because I don’t want to miss any content from you 🥰
Amazing Bruno!! it works for me, thanks so much Do you know if is possible to publish a pre-release package? like a beta or something previous to the final release? what should be the commands to do that? thank you
Thank you 😍 Yes you will need a pre-releass branch for that, but answering directly to your question: yes, it's possible 😊 They have docs here explaining that process semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#pre-release-branches
The publish was skipped for his feature branch, bcoz he set it up the publish steps in yml file to run only for the main branch. So that only the publish steps skipped for his feature branch. And then once the changes merged to main the publish step ran and the npm version updated in npm screen. Hope it's helps to understand.👍
Hello Bruno, thanks for the tutorial. I have troubles with NPM_TOKEN during the CI actions process. ""Please make sure to set the NPM_TOKEN environment variable in your CI with the exact value of the npm token."" but my npm account does not have 2FA enabled, and my generated access token is type ""Automation"". any advice about this problem?
Muito obrigado Eduardo 😍 Por acaso nao tenho discord... mas 'es a terceira pessoa esta semana a perguntar isso 😊 Que vantagens ves em usar discord? Desculpa a pergunta completamente noob da minha parte 🤣🤣
@@BrunoAntunesPT O discord é uma app para mobile/desktop/web que te permite criar um "servidor" onde podes convidar amigos, video calls, chamadas de grupo, partilha de ecra, tudo no mesmo servidor sem custo nenhum. Faz imensa falta na comunidade portuguesa, já que procuramos sempre contéudo na comunidade Inglesa/Brasileira e assim podiamos criar uma união e partilhar-mos conteúdo em Português com outros Portugueses 😂
thanks for the vid. is it possible to have inside the action more than 1 if. ? For example 1 for main branch and another for dev branch? another question.. what about pushing from visualcode ?
please let me know if you still can publish success. I tried the latest version of seamantic-release and same of verion as your repo, both meet same 403 error.
Hello, it's a nice tutorial. Everything is working fine, but once it reaches the release job it falls into a permision error how do I solve it? NOTE: I've even used my personal access token which gives all the permisions it needs.
Hello, Bruno could I use this method to share common codes between 2 projects? I have 2 react apps that share many functions, selectors, ui components.
Yes, you can! :) We share react components and helpers between multiple teams inside my company. We have a private npm registry so the code is not exposed outside our organization - this might be important (or not) depending on your company... We then use storybook both as development playground and documentation - storybook is a pleasure to work with :)
@@BrunoAntunesPT wow Bruno thanks a lot. I ve been struggling copying and pasting the codes within my projects. Do you have a video where you you talk more In detail about this topic?
Yeah, copy pasting works for a while, but as soon as your projects start to grow, it becomes very painful very fast, especially if you have multiple teams with a dozen projects xD Well...that was basically my introduction for last weeks video and one of the reasons to make this 2 videos - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aVFasPXkyRE.html But if you have any question(s), feel free to ask, and I'll try to help :)
AggregateError: SemanticReleaseError: The release branches are invalid in the `branches` configuration. I got this error I tried to find the documentation and added the configuration for release branches it does not work.
Can you share your repository? Are you passing the branches like here : github.com/bmvantunes/youtube-2021-may-automatic-publish-npm-semantic-release-and-github-actions/blob/1c6d20cd4b92978e8ac40d44f704073fe5ddcfa9/package.json#L25
Hi Bruno. Awesome work man. But I am having an issue when running the publish job. semantic-release seems to be having an issue during publishing. Please help npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-paga@0.0.0-development semantic-release: `semantic-release` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-paga@0.0.0-development semantic-release script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2021-07-26T01_54_40_871Z-debug.log
@@BrunoAntunesPT Hi Bruno, thanks for the response. Apparently when I created my npmjs.com account I didn't verify my email address as a result I wasn't granted access to publish my package. But I have resolved it. Thanks