Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
Maaaartin committed Jun 25, 2024
1 parent 52ae028 commit 5e1760d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,17 @@ jobs:
name: lib # A name for the artifact
path: ./lib # The path to the directory or file to upload
test-versions:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install NVM
- name: Setup nvm and use Node
run: |
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
echo 'export NVM_DIR="$HOME/.nvm"' >> $GITHUB_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $GITHUB_ENV # This loads nvm
echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> $GITHUB_ENV # This loads nvm bash_completion
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm use system
npm uninstall -g a_module
- name: Download Artifacts
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 5e1760d

Please sign in to comment.