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