diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3c1b15..8cd09b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + node: [18, 20] + continue-on-error: ${{ matrix.node == 20 }} steps: - name: Checkout @@ -16,9 +20,9 @@ jobs: with: fetch-depth: 0 - name: Setup Nodejs - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci - name: Lint