Skip to content

Commit c1005fc

Browse files
committed
ci!: drop Node 14/16 support
Node 14 and 16 are incompatible with prettier-plugin-jsdoc-type. This commit removes them from the CI matrix and updates package.json to enforce Node >=18.18.0 and pnpm@7.33.5.
1 parent befda88 commit c1005fc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
eslint:
2525
- 9
2626
- 8
27-
include:
28-
- node: 16
29-
eslint: 8
30-
- node: 14
31-
eslint: 8
27+
# include:
28+
# - node: 16
29+
# eslint: 8
30+
# - node: 14
31+
# eslint: 8
3232

3333
steps:
3434
- name: Checkout Repo
@@ -53,8 +53,8 @@ jobs:
5353
- name: Test
5454
run: pnpm mocha
5555

56-
- name: Perf
57-
# Skip on node 14, as eslint-plugin-n contains syntax that doesn't work
58-
# with node 14
59-
if: ${{ matrix.node != 14 }}
60-
run: TIMING=1 pnpm lint
56+
# - name: Perf
57+
# # Skip on node 14, as eslint-plugin-n contains syntax that doesn't work
58+
# # with node 14
59+
# if: ${{ matrix.node != 14 }}
60+
# run: TIMING=1 pnpm lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"license": "MIT",
1313
"packageManager": "pnpm@7.33.5",
1414
"engines": {
15-
"node": "^14.18.0 || >=16.0.0"
15+
"node": ">=18.0.0"
1616
},
1717
"main": "eslint-plugin-prettier.js",
1818
"types": "eslint-plugin-prettier.d.ts",

0 commit comments

Comments
 (0)