1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 13:15:18 +02:00

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.
This commit is contained in:
Lars Kiesow 2025-04-18 00:44:47 +02:00
parent 9043ee9565
commit 0f36f34bfb
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

29
.github/workflows/frontend-test.yml vendored Normal file
View file

@ -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