Merge pull request #1 from skoelle/feature/project-cleanup

feat: Project Cleanup
This commit is contained in:
Stefan Koelle
2026-08-09 16:29:23 +02:00
committed by GitHub
+51
View File
@@ -0,0 +1,51 @@
# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
# Licensed under the MIT License. See LICENSE file in project root for details.
name: PR Check
on:
pull_request:
branches: [main]
jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: client/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: client
- name: Lint
run: npm run lint
working-directory: client
- name: Build
run: npm run build
working-directory: client