diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 69cac752d..e621e2360 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,7 +30,7 @@ jobs: name: Test strategy: matrix: - node: [18, 20, 21, 'lts/*'] + node: [18, 20, 22, 24, 'lts/*'] runs-on: ubuntu-latest steps: - name: Checkout @@ -61,6 +61,24 @@ jobs: - name: Test run: npm test + test-with-eslint-v10-alpha: + name: Test with ESLint v10 alpha + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v5 + - name: Install Node.js v18 + uses: actions/setup-node@v6 + with: + node-version: 24 + - name: Change local ESLint version to v10 + run: | + sed -ie 's/"eslint": "^9.32.0"/"eslint": "^10.0.0-0"/' package.json + - name: Install Packages + run: npm install --force + - name: Test + run: npm test + test-without-eslint-stylistic: name: Test without ESLint Stylistic runs-on: ubuntu-latest diff --git a/package.json b/package.json index 593c90043..9334943cd 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "peerDependencies": { "@stylistic/eslint-plugin": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0", "@typescript-eslint/parser": "^7.0.0 || ^8.0.0", - "eslint": "^8.57.0 || ^9.0.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0-0", "vue-eslint-parser": "^10.0.0" }, "peerDependenciesMeta": {