Files
gatus/.github/workflows/test-ui.yml
2025-12-11 01:01:17 +00:00

32 lines
792 B
YAML

name: test-ui
on:
pull_request:
paths:
- 'web/**'
push:
branches:
- master
paths:
- 'web/**'
jobs:
test-ui:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- run: make frontend-install-dependencies
- 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"
echo ""
echo "Changed files:"
git diff --name-only
echo ""
git status
git diff
exit 1
fi