Skip to content

Commit 9342bca

Browse files
authored
chore: update minimum required node version (#6)
1 parent 394ba90 commit 9342bca

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

.changeset/strong-tires-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"git-contributor-stats": minor
3+
---
4+
5+
chore: update node compatibility to minimum 20

.github/workflows/changeset-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 18
20+
node-version: 20
2121
cache: 'npm'
2222

2323
- name: Install Dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node.js
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 18
29+
node-version: 20
3030
cache: 'npm'
3131
registry-url: 'https://registry.npmjs.org'
3232

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
18
1+
20.19.0
22

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"vitest": "3.2.4"
114114
},
115115
"engines": {
116-
"node": ">=18.0.0"
116+
"node": ">=20.19.0"
117117
},
118118
"publishConfig": {
119119
"registry": "https://registry.npmjs.org/"

src/features/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: '18'
24+
node-version: '20'
2525
- name: Install deps
2626
run: npm ci || npm i
2727
- name: Run report

0 commit comments

Comments
 (0)