Skip to content

Commit e48753f

Browse files
authored
Update sonarqube.yml
1 parent de89138 commit e48753f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/sonarqube.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
1-
name: Build
2-
on:
3-
push:
4-
branches:
5-
- main
6-
pull_request:
7-
types: [opened, synchronize, reopened]
81
jobs:
92
sonarqube:
10-
name: SonarQube
113
runs-on: windows-latest
4+
defaults:
5+
run:
6+
working-directory: PintudosFront
127
steps:
138
- uses: actions/checkout@v4
149
with:
1510
fetch-depth: 0
1611

1712
- name: Run tests with coverage
18-
working-directory: PintudosFront
1913
run: npm run test -- --coverage
2014

2115
- name: SonarQube Scan
2216
uses: SonarSource/sonarqube-scan-action@v5
23-
working-directory: PintudosFront
2417
env:
2518
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2619
with:

0 commit comments

Comments
 (0)