We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32e82ae commit e959c39Copy full SHA for e959c39
.github/workflows/build.yml
@@ -4,6 +4,7 @@ on:
4
branches: [ master ]
5
pull_request:
6
7
+ types: [opened, synchronize, reopened]
8
jobs:
9
build:
10
runs-on: Ubuntu-latest
@@ -25,3 +26,15 @@ jobs:
25
26
run: npm test
27
- name: Before deploy
28
run: npm run docs
29
+ sonarcloud:
30
+ name: SonarCloud
31
+ runs-on: ubuntu-latest
32
+ steps:
33
+ - uses: actions/checkout@v2
34
+ with:
35
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
36
+ - name: SonarCloud Scan
37
+ uses: SonarSource/sonarcloud-github-action@master
38
+ env:
39
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
40
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments