ecency-mobile/appcenter-post-clone.sh
Mustafa Buyukcelebi 1d7f712f4d Revert some changes
2019-10-14 15:08:22 +03:00

18 lines
320 B
Bash

#!/usr/bin/env bash
printf "post-clone.sh\n"
node -v
# please specify required Node.js version
NODE_VERSION=8.16.0
# workaround to override the v8 alias
npm config delete prefix
. ~/.bashrc
nvm install "$NODE_VERSION"
nvm alias node8 "$NODE_VERSION"
nvm alias default v8.16.0
node -v
printf "end of post-clone.sh\n"