diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bf8507..6d516fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,11 @@ on: jobs: tests: runs-on: ubuntu-22.04 + strategy: + matrix: + node: [18, 20] + continue-on-error: ${{ matrix.node == 20 }} + steps: - name: Checkout uses: actions/checkout@v4 @@ -16,7 +21,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci