diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e72bd81..67ad493 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,13 +5,18 @@ jobs: strategy: matrix: node: [12.x, 14.x, 16.x] + eslint: [7, 8] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} + - name: Use ESLint ${{ matrix.eslint }} + run: npm install eslint@${{ matrix.eslint }} + continue-on-error: ${{ matrix.eslint == '8' }} - run: | npm install --silent npm run lint npm run test + continue-on-error: ${{ matrix.eslint == '8' }}