# 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@v7 - name: Setup .NET uses: actions/setup-dotnet@v6 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@v7 - name: Setup Node.js uses: actions/setup-node@v7 with: node-version: '24' 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