Skip to content

Commit

Permalink
Update sonar-cloud.yml (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Nov 22, 2024
1 parent af12d51 commit 7fd95b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sonar-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ jobs:
run: npm install

- name: Test and coverage
run: npm run test -- --coverage
run: npm run test:coverage

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
if: >-
(
github.event_name == 'push' &&
github.ref == 'refs/heads/main'
) || (
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository
) || (
Expand Down

0 comments on commit 7fd95b2

Please sign in to comment.