ui build test

This commit is contained in:
9qeklajc
2025-11-01 15:29:21 +01:00
parent 557080d0b2
commit 01d40009a3
+27 -1
View File
@@ -7,7 +7,7 @@ on:
branches: ["*"] # Run on PRs to all branches
jobs:
test:
backend-test:
runs-on: ubuntu-latest
strategy:
matrix:
@@ -51,3 +51,29 @@ jobs:
pytest.xml
.coverage
retention-days: 30
ui-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: ui/package-lock.json
- name: Install UI dependencies
working-directory: ./ui
run: npm ci
- name: Run UI linting
working-directory: ./ui
run: npm run lint
- name: Run UI build
working-directory: ./ui
run: npm run build