Drop support for Node.js 12

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-05-01 20:45:43 +02:00
parent 8449fb0e47
commit e222225866
5 changed files with 11 additions and 6 deletions

View file

@ -31,11 +31,11 @@ EOF
exit 1
fi
if version_lt "$(node --version)" 'v12.0.0'; then
if version_lt "$(node --version)" 'v14.13.1'; then
cat << EOF
FATAL: Your Node.js version is not supported.
Please upgrade to version 12 or higher and try again.
Please upgrade to version 14.13.1 or higher and try again.
We recommend running the latest LTS release, see https://nodejs.org/en/about/releases/ for details.
EOF
exit 1