diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2e31fda..cdd408e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -40,10 +40,6 @@ jobs: - eslint: 9 node: 'lts/*' os: macos-latest - # On old ESLint versions - - eslint: 8 - node: 'lts/*' - os: ubuntu-latest runs-on: ${{ matrix.os }} steps: @@ -63,6 +59,30 @@ jobs: run: npm run -s build - name: Test run: npm run -s test:mocha + test-for-old-eslint: + name: Test + strategy: + matrix: + eslint: [8] + node: ['lts/*'] + os: [ubuntu-latest] + + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Checkout submodules + run: git submodule update --init + - name: Install Node.js v${{ matrix.node }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + - name: Install Packages + run: npm install -f + - name: Install ESLint v${{ matrix.eslint }} + run: node scripts/ci-install-eslint ${{ matrix.eslint }} + - name: Test + run: npm run -s test:debug test-cov: name: Test and Send Coverage