When running the PR configured in Github Actions, the SonarCloud execution fails, I have tried several ways to solve the error, but I have not been able to achieve it
Repository: Github
CI: Github Actions
Scanner command:
sonar.organization=softcrumhq
sonar.projectKey=softcrumhq_softcrum-frontend-corporate
sonar.exclusions=src/assets/css/tailwind
sonar.sources=.
sonar.javascript.jstest.reportsPath=coverage
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.testExecutionReportPaths=test-report.xml
sonar.test.inclusions=
sonar.test.exclusions=src/actions/*.js,src/components/*.js,src/config/*.js,src/language/*.js,src/stores/*.js,postcss.config.js,server.js,tailwind.config.js
sonar.tests=.
sonar.sourceEncoding=UTF-8
Languages of the repository: Create React App
https://sonarcloud.io/dashboard?id=softcrumhq_softcrum-frontend-corporate
File package.json can't be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test file