2019-10-14 15:08:22 +03:00
|
|
|
#!/usr/bin/env bash
|
2018-12-16 21:38:51 +03:00
|
|
|
|
2019-10-14 15:08:22 +03:00
|
|
|
printf "post-clone.sh\n"
|
2018-12-16 21:38:51 +03:00
|
|
|
|
2019-10-14 15:08:22 +03:00
|
|
|
node -v
|
2018-12-27 11:46:57 +03:00
|
|
|
|
2019-10-14 15:08:22 +03:00
|
|
|
# please specify required Node.js version
|
2020-03-24 14:56:41 +03:00
|
|
|
#NODE_VERSION=8.16.0
|
2018-12-16 22:15:10 +03:00
|
|
|
|
2019-10-14 15:08:22 +03:00
|
|
|
# workaround to override the v8 alias
|
2020-03-24 14:56:41 +03:00
|
|
|
#npm config delete prefix
|
|
|
|
#. ~/.bashrc
|
|
|
|
#nvm install "$NODE_VERSION"
|
|
|
|
#nvm alias node8 "$NODE_VERSION"
|
|
|
|
#nvm alias default v8.16.0
|
|
|
|
#node -v
|
2018-12-27 11:46:57 +03:00
|
|
|
|
2019-10-14 15:08:22 +03:00
|
|
|
printf "end of post-clone.sh\n"
|