diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 984d1b9..01e4021 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: "lts/*" - name: Install dependencies run: npm install - name: Lint files @@ -25,11 +25,16 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [21.x, 20.x, 19.x, 18.x, 17.x, 16.x, 14.x, 12.x, "12.22.0"] + node: [21.x, 20.x, 18.x, "18.18.0"] + include: + - os: windows-latest + node: "lts/*" + - os: macOS-latest + node: "lts/*" runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - name: Install dependencies diff --git a/package.json b/package.json index 184207f..3986817 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "version": "7.2.2", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "repository": "eslint/eslint-scope", "funding": "https://opencollective.com/eslint",