Skip to content

Commit

Permalink
Update deploy_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdevcollins authored Dec 6, 2024
1 parent 32e0bf2 commit a2dc37e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
echo "Checking if Yarn is installed..."
if ! command -v yarn > /dev/null; then
echo "Yarn is not installed. Installing Yarn locally..."
npm install --prefix ~/.local yarn || { echo "Yarn installation failed"; exit 1; }
export PATH=$HOME/.local/bin:$PATH
echo "Yarn is not installed. Installing Yarn directly..."
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH=$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH
else
echo "Yarn is already installed."
fi
Expand Down

0 comments on commit a2dc37e

Please sign in to comment.