Skip to content

Commit a141d5f

Browse files
authored
ci: stop testing against NodeJS v10, v12 (#507)
BREAKING CHANGE: Drop support for NodeJS v10, v12
1 parent 77b5545 commit a141d5f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ jobs:
1414
strategy:
1515
matrix:
1616
node_version:
17-
- 10
18-
- 12
1917
- 14
2018
- 16
19+
- 18
2120
steps:
2221
- uses: actions/checkout@master
2322
- name: "Use Node.js ${{ matrix.node_version }}"

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@
7373
"@pika/plugin-ts-standard-pkg"
7474
],
7575
[
76-
"@pika/plugin-build-node"
76+
"@pika/plugin-build-node",
77+
{
78+
"minNodeVersion": "14"
79+
}
7780
],
7881
[
7982
"@pika/plugin-build-web"
@@ -113,5 +116,8 @@
113116
"ignoreDeps": [
114117
"sort-keys"
115118
]
119+
},
120+
"engines": {
121+
"node": ">= 14"
116122
}
117123
}

0 commit comments

Comments
 (0)