Skip to content

shouldnt need to install nvm from remote bash script #16

shouldnt need to install nvm from remote bash script

shouldnt need to install nvm from remote bash script #16

on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update apt repos
run: sudo apt-get update
- 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
- name: Install dependencies
run: yarn install
- name: Yarn deploy
run: yarn run deploy