Add git status check after frontend-build in test-ui workflow
Co-authored-by: TwiN <15699766+TwiN@users.noreply.github.com>
This commit is contained in:
11
.github/workflows/test-ui.yml
vendored
11
.github/workflows/test-ui.yml
vendored
@@ -15,4 +15,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- run: make frontend-install-dependencies
|
||||
- run: make frontend-build
|
||||
- run: make frontend-build
|
||||
- name: Check for uncommitted changes
|
||||
run: |
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
echo "Error: There are uncommitted changes after running 'make frontend-build'"
|
||||
echo "Please run 'make frontend-build' locally and commit the changes"
|
||||
git status
|
||||
git diff
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user