+
+ - name: Sonar Code Analysis
+ if: "github.repository == 'pioardi/poolifier' && matrix.node-version == '14.x'"
+ run: |
+ npm run sonar
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+
+ - name: Benchmark
+ if: github.event.inputs.withBenchmark
+ run: npm run benchmark