CI: true
- name: Sonar Code Analysis
- if: "github.repository == 'pioardi/poolifier' && matrix.node-version == '14.x'"
- run: |
- npm run sonar
+ if: "github.repository == 'poolifier/poolifier' && matrix.node-version == '14.x'"
+ uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}