diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 642362fc..133ebb24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,9 @@ on: jobs: test: + strategy: + matrix: + eslint: [8] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -15,7 +18,10 @@ jobs: with: node-version-file: ./.node-version + - name: Use ESLint ${{ matrix.eslint }} + run: npm install eslint@${{ matrix.eslint }} + - run: | - npm install + npm install --silent npm run lint npm run test