+
+ - name: Sonar Code Analysis
+ if: "github.repository == 'poolifier/poolifier' && matrix.node == '16.x'"
+ uses: sonarsource/sonarcloud-github-action@master
+ 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