From 0f36f34bfb77516efe3921da831fb6981dcb7f61 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Fri, 18 Apr 2025 00:44:47 +0200 Subject: [PATCH 1/2] Simple Frontend Build Test This patch adds a simple test for checking if the frontend builds properly. This is similar to the recently added backend check and will be run automatically on pushes and pull requests. --- .github/workflows/frontend-test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/frontend-test.yml diff --git a/.github/workflows/frontend-test.yml b/.github/workflows/frontend-test.yml new file mode 100644 index 0000000..e5b58e6 --- /dev/null +++ b/.github/workflows/frontend-test.yml @@ -0,0 +1,29 @@ +name: Test â‚£ontend + +on: + pull_request: + paths: + - "frontend/**" + - ".github/workflows/frontend-test.yml" + push: + paths: + - "frontend/**" + - ".github/workflows/frontend-test.yml" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: install dependencies + working-directory: frontend + run: npm i + + - name: build frontend + working-directory: frontend + run: npm run build From 983a0384207284a185dc8969ae8146a678a25e5d Mon Sep 17 00:00:00 2001 From: Sean Morley <98704938+seanmorley15@users.noreply.github.com> Date: Fri, 18 Apr 2025 11:50:33 -0400 Subject: [PATCH 2/2] Update frontend-test.yml --- .github/workflows/frontend-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontend-test.yml b/.github/workflows/frontend-test.yml index e5b58e6..04df55a 100644 --- a/.github/workflows/frontend-test.yml +++ b/.github/workflows/frontend-test.yml @@ -1,4 +1,4 @@ -name: Test â‚£ontend +name: Test Frontend on: pull_request: