Skip to content

Commit

Permalink
Drops support for Node <14.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Nov 1, 2024
1 parent fca217f commit 735855c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0']
node: ['14.18.0']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0', '14.0', '16.0']
node: ['14.18.0', '16', '18', '20']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -54,10 +54,10 @@ jobs:

- run: npm install
- run: npm test
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
run: npm run coverage
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
uses: coverallsapp/github-action@1.1.3
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
uses: coverallsapp/github-action@v2
with:
github-token: ${{ github.token }}
path-to-lcov: ./coverage.info
file: ./coverage.info
format: lcov
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"metalsmith": "^2.5.0"
},
"engines": {
"node": ">=12"
"node": ">=14.18.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 735855c

Please sign in to comment.