Skip to content

Instantly share code, notes, and snippets.

@ashishjullia
Created October 28, 2023 06:09
Show Gist options
  • Save ashishjullia/aad69c7822fade03b5eb1ee3f6375eaa to your computer and use it in GitHub Desktop.
Save ashishjullia/aad69c7822fade03b5eb1ee3f6375eaa to your computer and use it in GitHub Desktop.
Use nvm in github actions direct install
- run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
cat ~/.bashrc
source $HOME/.nvm/nvm.sh
nvm install && nvm use
npm ci
#working-directory: './<if-specific-sub-dir>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment