Skip to content

Commit 44da84f

Browse files
authored
Stop testing in Node 14 and 16 (#1623)
test: Stop testing in Node 14 and 16 BREAKING CHANGE This will require Node 18 as the new minimum required version, because we no longer test in 14 or 16.
1 parent 8d0fc1d commit 44da84f

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

Diff for: .github/workflows/node.js.yml

+11-12
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,25 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [master]
99
pull_request:
10-
branches: [ master ]
10+
branches: [master]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
strategy:
1817
matrix:
19-
node-version: [14.x, 16.x, 18.x, 20.x]
18+
node-version: [18.x, 20.x]
2019
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120

2221
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3.8.0
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run test-ci
22+
- uses: actions/checkout@v4
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: 'npm'
28+
- run: npm ci
29+
- run: npm run test-ci

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
}
112112
},
113113
"engines": {
114-
"node": ">=14"
114+
"node": ">=18"
115115
},
116116
"lint-staged": {
117117
"*.js": [

0 commit comments

Comments
 (0)