X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=3df4616e467eece2658d8b6aa09684300fb86242;hb=2af05385b232809ad91e6306bc8650c46edaf67c;hp=d7ab024d2e637450244501dd431988a4097e9cce;hpb=515e5da7461f84786a9b6acf859cf65a083e2f4c;p=poolifier.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7ab024d..3df4616e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis. This is needed for better sonar - name: Set node version to ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} @@ -47,7 +47,7 @@ jobs: CI: true - name: Sonar Code Analysis - if: "github.repository == 'pioardi/poolifier'" + if: "github.repository == 'pioardi/poolifier' && matrix.node-version == '14.x'" run: | npm run sonar env: