Skip to content

Commit fbfa2c7

Browse files
committed
Drops support for Node.js < 14.18.0, updates CI
1 parent 294f77f commit fbfa2c7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: ['ubuntu-latest', 'windows-latest']
28-
node: ['12']
28+
node: ['14.18.0']
2929
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
3030
steps:
3131
- uses: actions/checkout@v3
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
matrix:
4545
os: ['ubuntu-latest', 'windows-latest']
46-
node: ['12', '14', '16']
46+
node: ['14.18.0', '16', '18', '20']
4747
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
4848
steps:
4949
- uses: actions/checkout@v3
@@ -54,10 +54,10 @@ jobs:
5454

5555
- run: npm install
5656
- run: npm test
57-
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16'
57+
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
5858
run: npm run coverage
59-
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16'
60-
uses: coverallsapp/github-action@1.1.3
59+
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
60+
uses: coverallsapp/github-action@v2
6161
with:
62-
github-token: ${{ github.token }}
63-
path-to-lcov: ./coverage.info
62+
file: ./coverage.info
63+
format: lcov

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"metalsmith": "^2.5.0"
7272
},
7373
"engines": {
74-
"node": ">=12.17.0 <13.0.0-0||>=13.2.0"
74+
"node": ">=14.18.0"
7575
},
7676
"publishConfig": {
7777
"access": "public"

0 commit comments

Comments
 (0)