[hotfix] Pin node version (fix linux wheel build) (#11532)

Co-authored-by: Max Fitton <max@semprehealth.com>
This commit is contained in:
Max Fitton
2020-10-21 22:10:09 -04:00
committed by Alex Wu
parent dbcb368dea
commit cac4c82c8a
+2 -1
View File
@@ -11,6 +11,7 @@ echo 10
EOF
chmod +x /usr/bin/nproc
NODE_VERSION="14"
PYTHONS=("cp36-cp36m"
"cp37-cp37m"
"cp38-cp38")
@@ -31,7 +32,7 @@ export PATH=$PATH:/root/bin
set +x
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
source "$HOME"/.nvm/nvm.sh
nvm install node
nvm install $NODE_VERSION
nvm use node
# Build the dashboard so its static assets can be included in the wheel.