File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 2828 run : yarn --cwd eslint-plugin lint
2929 - name : Test
3030 run : yarn --cwd eslint-plugin test:cov
31+
32+ sonarcloud :
33+ name : SonarCloud
34+ runs-on : ubuntu-latest
35+
36+ steps :
37+ - uses : actions/checkout@v3
38+ with :
39+ fetch-depth : 0
40+ - name : Install dependencies
41+ run : yarn --cwd eslint-plugin install --frozen-lockfile
42+ - name : Test
43+ run : yarn --cwd eslint-plugin test:cov
44+ - name : SonarCloud Scan
45+ uses : SonarSource/sonarcloud-github-action@master
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1+ sonar.organization =green-code-initiative
2+ sonar.projectKey =green-code-initiative_ecoCode-linter
3+ sonar.javascript.lcov.reportPaths =eslint-plugin/coverage/lcov.info
You can’t perform that action at this time.
0 commit comments