source nvm
Some checks failed
Build and deploy website / build (push) Failing after 2s
Build and deploy website / deploy (push) Failing after 2s

This commit is contained in:
Martin Berg Alstad 2024-09-28 12:44:52 +02:00
parent 7363742a29
commit aab6cefad3

View File

@ -17,9 +17,7 @@ jobs:
run: | run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="/opt/gitea_runner/.nvm" export NVM_DIR="/opt/gitea_runner/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm source "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
echo $NVM_DIR
- name: Setup Node - name: Setup Node
run: nvm install latest && nvm use latest && npm install -g pnpm run: nvm install latest && nvm use latest && npm install -g pnpm
- name: Check out repository code - name: Check out repository code