Skip to content

Commit e887f05

Browse files
authored
feat: drop NodeJS v10, v12 support + test NodeJS v18 (#555)
BREAKING CHANGE: drop support for NodeJS <= 14 (Older than v14)
1 parent 5972849 commit e887f05

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
node:
16-
- 10
17-
- 12
1816
- 14
1917
- 16
18+
- 18
2019
name: Node ${{ matrix.node }}
2120
steps:
2221
- uses: actions/checkout@v3

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
"ts-node": "^10.0.0",
4747
"typescript": "^4.1.5"
4848
},
49+
"engines": {
50+
"node": ">= 14"
51+
},
4952
"publishConfig": {
5053
"access": "public"
5154
},
@@ -55,7 +58,10 @@
5558
"@pika/plugin-ts-standard-pkg"
5659
],
5760
[
58-
"@pika/plugin-build-node"
61+
"@pika/plugin-build-node",
62+
{
63+
"minNodeVersion": "14"
64+
}
5965
],
6066
[
6167
"@pika/plugin-build-web"

0 commit comments

Comments
 (0)