Skip to content

Commit 52cf451

Browse files
authored
ci: stop testing against NodeJS v10, v12 (#324)
BREAKING CHANGE: Drop support for NodeJS v10, v12
1 parent 74464e2 commit 52cf451

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 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"
19-
- "14"
20-
- "16"
17+
- 14
18+
- 16
19+
- 18
2120
steps:
2221
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
2322
- name: "Use Node.js ${{ matrix.node_version }}"

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656
"@pika/plugin-ts-standard-pkg"
5757
],
5858
[
59-
"@pika/plugin-build-node"
59+
"@pika/plugin-build-node",
60+
{
61+
"minNodeVersion": "14"
62+
}
6063
],
6164
[
6265
"@pika/plugin-build-web"
@@ -90,5 +93,8 @@
9093
"extends": [
9194
"github>octokit/.github"
9295
]
96+
},
97+
"engines": {
98+
"node": ">= 14"
9399
}
94100
}

0 commit comments

Comments
 (0)