My Project Setup
Intro
Whenever I start a new project, I often use a specific workflow to make the most out of my development speed. Whether it’s a frontend project, or a backend project, I use a similar template for each project.
Tooling
I normally use GitHub as my go-to SCM. Depending on the type of project, I start out with adding specific GitHub Actions. If it’s a project that i want to deploy (on NPM), I use the release-please GitHub Action..
Dependabot
I use Dependabot to create auto pull requests whenever a dependency has a version update.
SonarCloud
For code quality, I make use of SonarCloud.
My sonar-project.properties
in the root of my project looks like this:
|
|
I normally set up SonarCloud to be CI-driven, because i want to display the Code Coverage.
|
|
Allstar
Once this is setup, I add a Branch Protection Rule on main
which blocks direct commits.
I’m using Allstar as a GitHub app that forces me to add specific protection settings.
You can see my Allstar configuration here.