From 2d56cc910edbcafc0d297771a3ea7c43cc5f62ad Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 2 Jan 2023 21:51:04 -0800 Subject: [PATCH] checkout: require node 18 --- npm-install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/npm-install.sh b/npm-install.sh index 95c531f5f..f18744dc4 100755 --- a/npm-install.sh +++ b/npm-install.sh @@ -1,3 +1,9 @@ +echo 'if (!process.version.startsWith("v18")) throw new Error("node 18 required")' | node +if [ "$?" != 0 ] +then + exit +fi + echo ###################################### echo "Setting up popular plugins." echo "Additional will need npm install manually."