Skip to content

Commit ebcc9d6

Browse files
chore: drop Node.js 16 (#307)
1 parent b6b5b22 commit ebcc9d6

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/workflows/linter.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
linter:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Use Node.js 14.x
9+
- uses: actions/checkout@v4
10+
- name: Use Node.js 22
1111
uses: actions/setup-node@v4
1212
with:
13-
node-version: "14.x"
13+
node-version: "22"
1414
- name: Cache NPM dependencies
1515
uses: actions/cache@v4
1616
with:

.github/workflows/tester.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, windows-latest, macos-latest]
11-
node-version: ["14.x", "16.x", "18.x"]
12-
exclude:
13-
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#excluding-matrix-configurations
14-
- os: macos-latest
15-
node-version: 14.x
11+
node-version: ["18", "20", "22"]
1612
fail-fast: false
1713
steps:
18-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1915
- name: Use Node.js ${{ matrix.node-version }}
2016
uses: actions/setup-node@v4
2117
with:
@@ -38,9 +34,9 @@ jobs:
3834
strategy:
3935
matrix:
4036
os: [ubuntu-latest]
41-
node-version: ["14.x"]
37+
node-version: ["22"]
4238
steps:
43-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4440
- name: Use Node.js ${{ matrix.node-version }}
4541
uses: actions/setup-node@v4
4642
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
"mocha": "^10.4.0"
4646
},
4747
"engines": {
48-
"node": ">=14"
48+
"node": ">=18"
4949
}
5050
}

0 commit comments

Comments
 (0)