Created
October 28, 2023 06:09
-
-
Save ashishjullia/aad69c7822fade03b5eb1ee3f6375eaa to your computer and use it in GitHub Desktop.
Use nvm in github actions direct install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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