diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22ade60..5ee68e3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,4 +15,17 @@ jobs: - run: cp .env.dist .env - run: npm ci - run: npm run lint - # - run: npm run test + - run: npm run test-coverage + + sonarqube-analysis: + runs-on: ubuntu-latest + needs: tests + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: SonarQube Scan + uses: sonarsource/sonarqube-scan-action@master + env: + SONAR_TOKEN: sqp_cdf796a422338de063410c70229532ccd1326375 + SONAR_HOST_URL: https://sonarqube.aws.tshdev.io \ No newline at end of file