ci: Add workflow to test UI changes (#998)

* ci: Add workflow to test UI changes

* test

* remove test
This commit is contained in:
TwiN 2025-02-06 19:33:37 -05:00 committed by GitHub
parent 541a70584d
commit 5227da3407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

13
.github/workflows/test-ui.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: test-ui
on:
pull_request:
paths:
- 'web/**'
jobs:
test-ui:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- run: make frontend-install-dependencies
- run: make frontend-build

View File

@ -34,6 +34,9 @@ docker-build-and-run: docker-build docker-run
# Front end # # Front end #
############# #############
frontend-install-dependencies:
npm --prefix web/app install
frontend-build: frontend-build:
npm --prefix web/app run build npm --prefix web/app run build