Skip to content

Add GitHub Actions build workflows #1

Add GitHub Actions build workflows

Add GitHub Actions build workflows #1

Workflow file for this run

name: Frontend Build Check
on:
push:
branches: [main]
paths:
- "frontend/**"
- ".github/workflows/frontend.yml"
pull_request:
branches: [main]
paths:
- "frontend/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js 22
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: "frontend/package-lock.json"
- name: Install frontend dependencies
working-directory: frontend
run: npm ci
- name: Build frontend
working-directory: frontend
run: npm run build