Skip to content

feat: add CI workflows for backend and frontend; configure build and … #1

feat: add CI workflows for backend and frontend; configure build and …

feat: add CI workflows for backend and frontend; configure build and … #1

Workflow file for this run

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