diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 085f78bd..8eba3ac0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x] + node-version: [16.x] name: CI - node ${{ matrix.node-version }} steps: - uses: actions/checkout@v3 diff --git a/.nvmrc b/.nvmrc index 958b5a36..6f7f377b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14 +v16 diff --git a/README.md b/README.md index bb27084e..9418cf1e 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The command-line tool installs the 3rd-party registry as a scoped registry and m ## Installation -- Requires [nodejs 14.18 or above](https://nodejs.org/en/download/). +- Requires [nodejs 16 or above](https://nodejs.org/en/download/). - Install via npm: ``` @@ -74,7 +74,7 @@ internal/modules/cjs/loader.js:818 Error: Cannot find module 'node:net' ``` -Please install [nodejs 14.18 or above](https://nodejs.org/en/download/). +Please install [nodejs 16 or above](https://nodejs.org/en/download/). ## China region diff --git a/README.zh-cn.md b/README.zh-cn.md index 26fe85d3..d2e0d595 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -39,7 +39,7 @@ openupm-cli基于Unity对带作用域的软件仓库(scoped registry)的支 ## 安装 -- 请先自行安装[nodejs 14.18或以上版本](https://nodejs.org/en/download/). +- 请先自行安装[nodejs 16或以上版本](https://nodejs.org/en/download/). - 通过npm安装: ``` @@ -74,7 +74,7 @@ internal/modules/cjs/loader.js:818 Error: Cannot find module 'node:net' ``` -请安装[nodejs 14.18或以上版本](https://nodejs.org/en/download/)。 +请安装[nodejs 16或以上版本](https://nodejs.org/en/download/)。 ## 中国区 diff --git a/package.json b/package.json index 051d2f89..ba67d017 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "preferGlobal": true, "description": "openupm command line interface", "engines": { - "node": ">=14.18" + "node": ">=16" }, "main": "lib/index.ts", "scripts": {