Skip to content

Commit

Permalink
shouldnt need to install nvm from remote bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Mar 1, 2024
1 parent eedd8d2 commit 8cbe4fb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@ jobs:
- name: Update apt repos
run: sudo apt-get update

- name: Install nvm
run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

- name: Activate nvm installation
shell: bash -l {0}
run: source ~/.bashrc

- name: Install specific node.js
run: nvm install v10.15.3
- name: Set the correct Node version using nvm
shell: bash -l {0}
run: nvm install

- name: Install yarn
run: curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && sudo apt-get update && sudo apt-get install yarn
Expand Down

0 comments on commit 8cbe4fb

Please sign in to comment.