mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-14 20:30:30 +02:00
[TESTING] Added git fetch for optimal operation
This commit is contained in:
@@ -18,6 +18,9 @@ EOF
|
|||||||
git config --global user.name "GitHub Actions"
|
git config --global user.name "GitHub Actions"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The remote changes should already be fetched, but as there is #4 this could resolve the problem
|
||||||
|
git fetch
|
||||||
|
|
||||||
echo "Installing prettier..."
|
echo "Installing prettier..."
|
||||||
npm install --silent --global prettier
|
npm install --silent --global prettier
|
||||||
echo "Prettifing files..."
|
echo "Prettifing files..."
|
||||||
|
|||||||
Reference in New Issue
Block a user