diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 74e1eef..a3280c3 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -49,7 +49,8 @@ jobs: -Dsonar.exclusions=**/node_modules/** \ -Dsonar.host.url=https://sonar.each-cs.com \ -Dsonar.token=${{ secrets.SONAR_TOKEN }} \ - -Dsonar.qualitygate.wait=true + -Dsonar.qualitygate.wait=true \ + -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info # ========================================== # DYNAMIC SECURITY ANALYSIS & DEPLOYMENT diff --git a/package.json b/package.json index 28541a1..9d35659 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "jest" + "test": "jest --coverage --coverageReporters=lcovonly" }, "repository": { "type": "git",