1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-06 13:45:17 +02:00
AdventureLog/.github/workflows/frontend-test.yml
Sean Morley b6e5e4abc0 refactor(workflows): simplify trigger paths for backend and frontend workflows
fix(dependencies): add overrides for esbuild in frontend package.json
2025-06-23 17:24:27 -04:00

28 lines
465 B
YAML

name: Test Frontend
permissions:
contents: read
on:
pull_request:
push:
jobs:
build:
name: Build and Test Frontend
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