From 734786c9dd2d40dd8bc68c026541e6f864cfbfd1 Mon Sep 17 00:00:00 2001 From: Yann Stepienik Date: Sun, 12 Mar 2023 18:33:48 +0000 Subject: [PATCH] Fix node CI --- .circleci/config.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ea3be0c..5065141 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,22 +23,26 @@ jobs: name: set Go path command: echo 'export PATH=$PATH:/usr/local/go/bin' >> $BASH_ENV - - run: - name: Swap node versions - command: | - set +e - wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash - export NVM_DIR="$HOME/.nvm" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" - nvm install v16 - nvm use 16 + name: install Node 1/3 + command: curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh + + - run: + name: install Node 2/3 + command: sudo bash ./nodesource_setup.sh + + - run: + name: install Node 3/3 + command: sudo apt-get install -y nodejs - run: name: Check Node Version command: node -v + - run: + name: Check Node Version + command: which node + - run: name: Install GuPM command: curl -fsSL https://azukaar.github.io/GuPM/install.sh | bash