diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edbfa0f92..43fa3cee7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,9 @@ jobs: strategy: matrix: node_version: - - 10 - - 12 - 14 - 16 + - 18 steps: - uses: actions/checkout@master - name: "Use Node.js ${{ matrix.node_version }}" diff --git a/package.json b/package.json index 78255c996..60dfb778c 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -113,5 +116,8 @@ "ignoreDeps": [ "sort-keys" ] + }, + "engines": { + "node": ">= 14" } }