diff --git a/.changeset/sweet-mugs-shake.md b/.changeset/sweet-mugs-shake.md new file mode 100644 index 00000000..92273a45 --- /dev/null +++ b/.changeset/sweet-mugs-shake.md @@ -0,0 +1,5 @@ +--- +'@cloudfour/eslint-plugin': major +--- + +Drop support for node 16. Now only node 18+ is supported diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6da0d848..586de493 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 16 + - name: Use Node.js 18 uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Cache node modules uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a623aba..df6f3ff3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,10 @@ jobs: # Fetch all git history for correct changelog commits fetch-depth: 0 - - name: Setup Node.js 16.x + - name: Setup Node.js 18.x uses: actions/setup-node@master with: - node-version: 16.x + node-version: 18.x - name: Install Dependencies run: npm ci diff --git a/package.json b/package.json index fe4b9abe..b7e0eb02 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "!src/rules/**/*.test.js" ], "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "keywords": [ "eslint",