Skip to content

Commit 83bb2e8

Browse files
committed
ci: load nvm
1 parent 05bc6f1 commit 83bb2e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
apt-get install -y git gcc-9 g++-9
4848
touch ~/.bashrc
4949
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
50+
export NVM_DIR="$HOME/.nvm"
51+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
52+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
5053
source ~/.bashrc
5154
nvm install node
5255

0 commit comments

Comments
 (0)