Skip to content

Commit bdf6282

Browse files
committed
Only upload codecov report + execute sonar scanner once
1 parent 633e144 commit bdf6282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Test
2626
run: npm run test
2727
- name: Upload coverage report
28+
if: ${{ matrix.os == ubuntu-latest }}
2829
uses: codecov/codecov-action@v3
2930
- name: SonarCloud Scan
31+
if: ${{ matrix.os == ubuntu-latest }}
3032
uses: sonarsource/sonarcloud-github-action@master
3133
env:
3234
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)