Skip to content

Commit 74f6167

Browse files
authored
ci: stop testing against NodeJS v10, v12 (#186)
BREAKING CHANGE: Drop support for NodeJS v10, v12
1 parent 196e091 commit 74f6167

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
@@ -13,10 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
node_version:
16-
- 10
17-
- 12
1816
- 14
1917
- 16
18+
- 18
2019
steps:
2120
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
2221
- name: "Use Node.js ${{ matrix.node_version }}"

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@
4848
"@pika/plugin-ts-standard-pkg"
4949
],
5050
[
51-
"@pika/plugin-build-node"
51+
"@pika/plugin-build-node",
52+
{
53+
"minNodeVersion": "14"
54+
}
5255
],
5356
[
5457
"@pika/plugin-build-web"
@@ -75,5 +78,8 @@
7578
"extends": [
7679
"github>octokit/.github"
7780
]
81+
},
82+
"engines": {
83+
"node": ">= 14"
7884
}
7985
}

0 commit comments

Comments
 (0)