Add frontend build and dependency audits to CI
CI / php-tests (pull_request) Successful in 29s
CI / frontend-build (pull_request) Successful in 42s

Nothing previously checked that a PR still produces a working frontend
build -- add a job that type-checks and builds the Vue app. Also run
composer audit / npm audit so known CVEs in dependencies fail the build
rather than going unnoticed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit was merged in pull request #3.
This commit is contained in:
2026-09-05 10:39:19 +01:00
co-authored by Claude Sonnet 5
parent 16f94293ab
commit 2370b06913
+21
View File
@@ -23,5 +23,26 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: composer install --no-progress --prefer-dist run: composer install --no-progress --prefer-dist
- name: Audit dependencies
run: composer audit
- name: Run tests - name: Run tests
run: vendor/bin/phpunit run: vendor/bin/phpunit
frontend-build:
runs-on: ubuntu-latest
container: node:24-alpine
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Audit dependencies
run: npm audit --audit-level=high
- name: Type-check and build
run: npm run build