Skip to content

Commit

Permalink
Updating nvm commands
Browse files Browse the repository at this point in the history
  • Loading branch information
BobaFetters committed Aug 11, 2023
1 parent 6e6df12 commit 73a4eb6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ jobs:
- name: Setup Servers
shell: bash
run: |
sh ./scripts/install-node-v12.sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
echo 'export NVM_DIR="$HOME/.nvm"' >> $GITHUB_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $GITHUB_ENV
echo nvm install v12.22.10 >> $GITHUB_ENV
echo nvm use v18.15.0 >> $GITHUB_ENV
cd SimpleUploadServer && nvm use && npm install && npm start &
sudo chmod -R +rwx SimpleUploadServer
# - name: Setup Upload Server
Expand Down

0 comments on commit 73a4eb6

Please sign in to comment.