Skip to content

Commit 6fa4894

Browse files
committed
[breaking]: drop node 12 support
1 parent 4457d5d commit 6fa4894

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-20.04
1616
strategy:
1717
matrix:
18-
node-version: [12.x, 14.x, 16.x]
18+
node-version: [14.x, 16.x, 18.x]
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Use Node.js ${{ matrix.node-version }}
@@ -25,9 +25,9 @@ jobs:
2525
- run: npm install
2626
- run: npm run build --if-present
2727
- run: npm run lint
28-
- run: npm test ${{ contains(matrix.node-version, '16.x') && ' -- --coverage' || '' }}
28+
- run: npm test ${{ contains(matrix.node-version, '18.x') && ' -- --coverage' || '' }}
2929
env:
3030
CI: true
3131
- uses: codecov/codecov-action@v1
3232
name: Upload coverage to Codecov
33-
if: contains(matrix.node-version, '16.x')
33+
if: contains(matrix.node-version, '18.x')

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"generate"
1414
],
1515
"engines": {
16-
"node": ">=12"
16+
"node": ">=14"
1717
},
1818
"license": "MIT",
1919
"bin": "./bin/run",

0 commit comments

Comments
 (0)