OCPP stack bug fixes:
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index c3cf2b49521a9347713a23a8ff73d24f32de8d73..836074b6b3c2bb51e4ca2d30e3c183e520e9fb62 100644 (file)
@@ -12,7 +12,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        node-version: [14.x]
+        node-version: [14.x, 16.x]
     steps:
     - uses: actions/checkout@v2
       with:
@@ -33,6 +33,7 @@ jobs:
     - name: npm run coverage
       run: npm run coverage
     - name: SonarCloud Scan
+      if: "github.repository == 'jerome-benoit/charging-stations-simulator' && matrix.node-version == '14.x'"
       uses: SonarSource/sonarcloud-github-action@master
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any