X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=cdeb918394383e022e989c32f323468e00f6c6e0;hb=12257749724afce52b5e384001deb77a4dd24a59;hp=355266d5fb5e50cf35b8d964a756d74fc31fb45e;hpb=04ac2d66729fc16f6e19f3faf3bb4698743ab5f0;p=poolifier.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 355266d5..cdeb9183 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master + - ${{ github.event.repository.default_branch }} pull_request: types: [opened, synchronize, reopened] workflow_dispatch: @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['14.x', '16.x', '18.x'] + node: ['16.x', '18.x'] steps: - name: Checkout @@ -44,11 +44,9 @@ jobs: - name: Tests run: npm run test - - name: Coverage & Linter Reports + - name: Coverage Report if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" - run: | - npm run coverage - npm run lint:report + run: npm run coverage - name: Sonar Code Analysis if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"