From 5227da340796cd80b6eae801454a51f068be0139 Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 6 Feb 2025 19:33:37 -0500 Subject: [PATCH] ci: Add workflow to test UI changes (#998) * ci: Add workflow to test UI changes * test * remove test --- .github/workflows/test-ui.yml | 13 +++++++++++++ Makefile | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/test-ui.yml diff --git a/.github/workflows/test-ui.yml b/.github/workflows/test-ui.yml new file mode 100644 index 00000000..1b68ec45 --- /dev/null +++ b/.github/workflows/test-ui.yml @@ -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 \ No newline at end of file diff --git a/Makefile b/Makefile index a4a0a596..ba0bf1e4 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ docker-build-and-run: docker-build docker-run # Front end # ############# +frontend-install-dependencies: + npm --prefix web/app install + frontend-build: npm --prefix web/app run build