Skip to content

Commit

Permalink
ci: Run SonarCloud analysis on PR events too
Browse files Browse the repository at this point in the history
Closes #215.
  • Loading branch information
luczsoma committed Mar 31, 2020
1 parent deff08f commit 89b2ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
- name: Test the code
run: npm run test
- name: Scan the code with SonarCloud
if: github.event_name == 'push' && matrix.node == 13
uses: sonarsource/sonarcloud-github-action@v1.1
if: matrix.node == 13
uses: sonarsource/sonarcloud-github-action@34eca22d1c5760f6ec08cb4b5c2f026796eb8e30
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 89b2ee2

Please sign in to comment.