How to do Code coverage and integrated the same to the Git pipe line

Try looking at the Angular project that our Consultants handle here: https://github.com/SonarSource/sonar-training-examples (in the folder “angular”)

Run that example project and observe the sonar-project.properties and compare to your own project.

Here is a similar post that might help you if you encounter a similar issue: SonarQube TypeScript test integration