mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 13:59:36 +02:00
Merge pull request #575 from lkiesow/frontend-build-test
Simple Frontend Build Test
This commit is contained in:
commit
b29461f29d
1 changed files with 29 additions and 0 deletions
29
.github/workflows/frontend-test.yml
vendored
Normal file
29
.github/workflows/frontend-test.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Test Frontend
|
||||||
|
|
||||||
|
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
|
Loading…
Add table
Add a link
Reference in a new issue