diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c96dfa..1209a6e 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: '18.x' + node-version: 'lts/*' - name: Install dependencies run: npm ci - name: Lint files @@ -25,14 +25,16 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [21.x, 20.x, 19.x, 18.x, 16.x, 14.x] + node: [21.x, 20.x, 18.x, "18.18.0"] include: - os: windows-latest - node: "18.x" + 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 a2c7407..2ddd6b2 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "yo": ">=4.0.0" }, "engines": { - "node": "^14.17.0 || ^16.0.0 || >= 18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "license": "MIT" }