From 9443f968542469c436ea2a33a58cb85be311f46a Mon Sep 17 00:00:00 2001 From: Francois Best Date: Fri, 11 Oct 2024 23:57:33 +0200 Subject: [PATCH] chore: Turns out if isn't supported in matrix.include --- .github/workflows/ci-cd.yml | 40 ++++++------------------------------- 1 file changed, 6 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 9c2051ed..f4b26e77 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -28,43 +28,15 @@ jobs: # branch protection settings for `next`. base-path: [false, '/base'] next-version: - # Only keep versions where there were - # relevant changes in the app router core. + # Only keep versions where there were relevant changes in the app router core, + # and the previous one to use as a baseline. - '14.2.0' - - '14.2.4' - - '14.2.8' + - '14.2.3' # before vercel/next.js#66755 + - '14.2.4' # after vercel/next.js#66755 + - '14.2.7' # before vercel/next.js#69509 + - '14.2.8' # after vercel/next.js#69509 - latest - local - include: - # All intermediate versions are tested - # only when merging PRs and before deployment. - # (these can be triggered using the dangling `ci` branch) - - next-version: '14.2.1' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.2' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.3' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.5' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.6' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.7' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.9' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.10' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.11' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.12' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.13' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.14' - if: ${{ github.event_name == 'push' }} - - next-version: '14.2.15' - if: ${{ github.event_name == 'push' }} steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938