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 4b257ef commit 198e536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Test the code
run: npm run test
- name: Scan the code with SonarCloud
if: github.event_name == 'push' && matrix.node == 13
if: matrix.node == 13
uses: sonarsource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit 198e536

Please sign in to comment.