diff --git a/.github/workflows/healthcheck.yml b/.github/workflows/healthcheck.yml index 7c55941..a68645a 100644 --- a/.github/workflows/healthcheck.yml +++ b/.github/workflows/healthcheck.yml @@ -7,6 +7,17 @@ on: - master jobs: + sonarqube-analysis: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v2 + + - name: SonarQube Analysis + uses: SonarSource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} build: runs-on: ubuntu-latest env: diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..c0dcff1 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=LambdaTest_node-tunnel_AZalBeyM-ZKsnB8M0r2U \ No newline at end of file