-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c22a513
commit 3adae66
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,11 @@ if [ "$distro" = "centos" ]; then | |
# Add yarn to the $PATH so npm cli commands do not fail | ||
export PATH="${PATH}:$(yarn global bin)" | ||
elif [ "$distro" = "amzn" ]; then | ||
yum install -y amazon-linux-extras | ||
amazon-linux-extras install epel -y | ||
yum-config-manager --enable epel | ||
yum install git-lfs | ||
git lfs install | ||
npm install -g yarn | ||
export PATH="$PATH:$(npm config get prefix)/bin" | ||
else | ||
|
@@ -30,6 +35,7 @@ git checkout -- scripts | |
|
||
# ensure we're in a branch on the correct sha | ||
git checkout $BRANCH | ||
git lfs pull | ||
git reset --hard $SHA | ||
|
||
git config --global user.email "[email protected]" | ||
|