diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca37c3ae0..d4b8dd034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ on: jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + node: [18, 20] steps: - name: Checkout @@ -18,7 +21,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci - name: Validate package-lock.json changes