From 6ef93272b28ccc8ce04615e57030288dd7f31a62 Mon Sep 17 00:00:00 2001 From: Guillaume Fay Date: Fri, 9 Aug 2024 17:10:43 +0200 Subject: [PATCH] fix: update ci (#7) --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 607054f..bdfbbc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,14 +9,15 @@ jobs: ci: name: CI runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x, 22.x] steps: - uses: actions/checkout@v3 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Setup Node + - name: Setup Node ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: 'lts/*' + node-version: ${{ matrix.node-version }} cache: 'yarn' - name: Install dependencies run: yarn