Skip to content

Commit

Permalink
Drops support for Node < 14.14.0, updates CI, drops Gitter notification
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Nov 25, 2024
1 parent 3462bff commit a0359e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/gitter.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0']
node: ['14.14.0']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'npm'

- run: npm install --no-package-lock
- run: npm install
- run: npm test

test:
Expand All @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0', '14.0', '16.0']
node: ['14.14.0', '16.0', '18.0']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -52,12 +52,12 @@ jobs:
node-version: ${{ matrix.node }}
cache: 'npm'

- run: npm install --no-package-lock
- run: npm install
- run: npm test
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
- if: matrix.os == 'ubuntu-latest' && matrix.node == '18.0'
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 == '18.0'
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 @@ -72,6 +72,6 @@
"metalsmith": "^2.6.0"
},
"engines": {
"node": ">=12"
"node": ">=14.14.0"
}
}

0 comments on commit a0359e5

Please sign in to comment.