Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: require at least Node.js 18.12.0 #1322

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/dull-moons-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'lint-staged': major
---

**Require at least Node.js 18.12.0**

This release drops support for Node.js 16, which is EOL after 2023-09-11.
Please upgrade your Node.js to the latest version.

Additionally, all dependencies have been updated to their latest versions.
6 changes: 2 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ jobs:
- install
strategy:
matrix:
# Test with Node.js v16 (LTS), v18 (LTS), and v20 (Current)
# Test with Node.js v18 (LTS) and v20 (Current)
node:
- 16
- 18
- 20
# Test with Ubuntu, macOS, and Windows
Expand Down Expand Up @@ -128,9 +127,8 @@ jobs:
- run: node bin/lint-staged.js --help
# Run tests
- run: npm test
# Upload coverage artifact from Node.js LTS
- uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.node == '16'
if: matrix.os == 'ubuntu-latest' && matrix.node == '20'
with:
name: coverage
path: coverage
Expand Down