Skip to content

Commit

Permalink
nvm/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Mar 1, 2024
1 parent b2763a7 commit 6c40edd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ jobs:
run: sudo apt-get update

- name: Install nvm
run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash && source ~/.bashrc && export NVM_DIR="$HOME/.nvm"

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

- name: Activate nvm installation
run: source ~/.bashrc

- name: Install specific node.js
run: nvm install v10.15.3

- 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

- name: Install dependencies
run: yarn install
- name: yarn deploy
run: yarn run deploy

- name: Yarn deploy
run: yarn run deploy

0 comments on commit 6c40edd

Please sign in to comment.