Skip to content

Commit

Permalink
Fix node version in Docker pre-build (HumanSignal#1630)
Browse files Browse the repository at this point in the history
* Use Node 14.x

* Fix Node version in Docker pre-build
  • Loading branch information
nick-skriabin authored Oct 19, 2021
1 parent 4f32d74 commit 6bcbba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/pre_build
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | b
source ~/.bashrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install node
nvm use node
nvm install 14
nvm use 14
apt install unzip


Expand Down

0 comments on commit 6bcbba7

Please sign in to comment.