Skip to content

Commit

Permalink
Drop support for 4 outdated Node.js 14 minor versions (node: protocol…
Browse files Browse the repository at this point in the history
… imports)
  • Loading branch information
webketje committed Feb 22, 2024
1 parent 114ab4c commit adb2240
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 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: ['14.14.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: ['14.14.0', '16', '18']
node: ['14.18.0', '16', '18', '20']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -54,9 +54,9 @@ jobs:

- run: npm install
- run: npm test
- if: matrix.os == 'ubuntu-latest' && matrix.node == '18'
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
run: npm run coverage
- if: matrix.os == 'ubuntu-latest' && matrix.node == '18'
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
uses: coverallsapp/github-action@v2
with:
file: ./coverage.info
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ To use this plugin with the Metalsmith CLI, add `@metalsmith/sass` to the `plugi
## Node compatibility
This plugin runs on Node >= 14.14.0. If you need to compile sass/scss on earier Node versions, use [metalsmith-sass](https://github.com/stevenschobert/metalsmith-sass) which uses the (no longer canonical) lib-sass.
This plugin runs on Node >= 14.18.0. If you need to compile sass/scss on earier Node versions, use [metalsmith-sass](https://github.com/stevenschobert/metalsmith-sass) which uses the (no longer canonical) lib-sass.
## License
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"test": "c8 mocha -t 5000"
},
"engines": {
"node": ">=14.14.0"
"node": ">=14.18.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit adb2240

Please sign in to comment.