28 lines
685 B
YAML
28 lines
685 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"
|
|
git status
|
|
git diff
|
|
exit 1
|
|
fi
|