Skip to content

Commit 300b4a0

Browse files
committed
Add nvm loading for shell
1 parent 4081542 commit 300b4a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

website/scripts/runner.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
LOCK_FILE=./runner.lock
33
PID_FILE=./runner.pid
44

5+
export NVM_DIR="$HOME/.nvm"
6+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
7+
58
kill_old_build() {
69
if [ -f "$PID_FILE" ]; then
710
OLD_PID=$(cat "$PID_FILE")

0 commit comments

Comments
 (0)