Skip to content

Commit

Permalink
feat: drop NodeJS v10, v12 support + test NodeJS v18 (#555)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop support for NodeJS <= 14 (Older than v14)
  • Loading branch information
wolfy1339 committed Jun 26, 2022
1 parent 5972849 commit e887f05
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Expand Up @@ -13,10 +13,9 @@ jobs:
strategy:
matrix:
node:
- 10
- 12
- 14
- 16
- 18
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

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

8 changes: 7 additions & 1 deletion package.json
Expand Up @@ -46,6 +46,9 @@
"ts-node": "^10.0.0",
"typescript": "^4.1.5"
},
"engines": {
"node": ">= 14"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -55,7 +58,10 @@
"@pika/plugin-ts-standard-pkg"
],
[
"@pika/plugin-build-node"
"@pika/plugin-build-node",
{
"minNodeVersion": "14"
}
],
[
"@pika/plugin-build-web"
Expand Down

0 comments on commit e887f05

Please sign in to comment.