build(docs-infra): allow only Node.js v14 and above (#42093)

The AIO doc-gen uses JavaScript syntax that requires node.js 14.0.0 or above.

Closes #42086

PR Close #42093
This commit is contained in:
Suguru Inatomi 2021-05-14 22:58:52 +09:00 committed by Zach Arend
parent a787f78074
commit 33e1a18530
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@
}, },
"//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json", "//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json",
"engines": { "engines": {
"node": "^12.20.0 || ^14.0.0", "node": "^14.0.0",
"yarn": ">=1.22.4 <2", "yarn": ">=1.22.4 <2",
"npm": "Please use yarn instead of NPM to install dependencies" "npm": "Please use yarn instead of NPM to install dependencies"
}, },