7 types: [opened, synchronize, reopened]
12 runs-on: ubuntu-latest
17 - uses: actions/checkout@v2
19 fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
20 - name: Use Node.js ${{ matrix.node-version }}
21 uses: actions/setup-node@v2
23 node-version: ${{ matrix.node-version }}
32 - name: npm run coverage
34 - name: SonarCloud Scan
35 uses: SonarSource/sonarcloud-github-action@master
37 GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any
38 SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
40 runs-on: ubuntu-latest
42 - uses: actions/checkout@v2
43 - name: Set up Docker Buildx
45 uses: docker/setup-buildx-action@v1
46 - name: Build docker image
49 make SUBMODULES_INIT=false