Skip to content

Commit ff4d1c0

Browse files
authored
Merge pull request #34 from malang-dev/update-minimum-node-20
Update minimum node 20
2 parents f069a6c + e52930b commit ff4d1c0

File tree

4 files changed

+158
-521
lines changed

4 files changed

+158
-521
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ name: Run CI
22

33
on:
44
push:
5-
branches: master
6-
tags: v*
5+
branches:
6+
- master
7+
tags:
8+
- v*
79
pull_request:
8-
branches: "*"
10+
branches:
11+
- "*"
912

1013
jobs:
1114
all:
1215
name: "Run CI"
1316
runs-on: ubuntu-latest
1417
strategy:
1518
matrix:
16-
node-version: [18.x, 20.x]
19+
node-version: [20.x, 24.x]
1720
steps:
1821
- uses: actions/checkout@v4
1922
- uses: actions/setup-node@v4

.github/workflows/publish-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/checkout@v4
6161
- uses: actions/setup-node@v4
6262
with:
63-
node-version: 18.x
63+
node-version: 22.x
6464
registry-url: https://registry.npmjs.org
6565
cache: yarn
6666

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"devDependencies": {
2828
"@types/jest": "^30.0.0",
29-
"@types/node": "^20.12.12",
29+
"@types/node": "^22.0.0",
3030
"@typescript-eslint/eslint-plugin": "^8.0.0",
3131
"@typescript-eslint/parser": "^8.0.0",
3232
"cross-env": "^7.0.3",
@@ -35,10 +35,10 @@
3535
"eslint-plugin-prettier": "^5.1.3",
3636
"husky": "^9.0.11",
3737
"jest": "^30.0.0",
38-
"lint-staged": "^15.2.2",
38+
"lint-staged": "^16.0.0",
3939
"prettier": "^3.2.5",
40-
"prettier-plugin-organize-imports": "^3.2.4",
41-
"rimraf": "^5.0.5",
40+
"prettier-plugin-organize-imports": "^4.0.0",
41+
"rimraf": "^6.0.0",
4242
"ts-jest": "^29.1.2",
4343
"typescript": "^5.4.2"
4444
},
@@ -49,6 +49,6 @@
4949
]
5050
},
5151
"engines": {
52-
"node": ">= 18"
52+
"node": ">= 20"
5353
}
5454
}

0 commit comments

Comments
 (0)