diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd055797..66a2eee9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,9 @@ jobs: strategy: matrix: node: - - 10 - - 12 - 14 - 16 + - 18 name: Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/package-lock.json b/package-lock.json index 7ca40727..2498fa1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,6 +36,9 @@ "ts-jest": "^27.0.0", "ts-node": "^10.0.0", "typescript": "^4.1.5" + }, + "engines": { + "node": ">= 14" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 0adf6cd3..682ba49b 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,9 @@ "ts-node": "^10.0.0", "typescript": "^4.1.5" }, + "engines": { + "node": ">= 14" + }, "publishConfig": { "access": "public" }, @@ -55,7 +58,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web"