Fix code blocks rendering on single line #62
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| backend-unit: | |
| name: Backend Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '11.0.x' | |
| dotnet-quality: 'preview' | |
| - name: Restore | |
| run: dotnet restore AspireAcademy.Api.Tests/AspireAcademy.Api.Tests.csproj | |
| - name: Build | |
| run: dotnet build AspireAcademy.Api.Tests/AspireAcademy.Api.Tests.csproj --no-restore | |
| - name: Test | |
| run: dotnet test AspireAcademy.Api.Tests/ --no-build --filter 'FullyQualifiedName!~E2E&Category!=Integration' --verbosity normal | |
| backend-integration: | |
| name: Backend Integration Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '11.0.x' | |
| dotnet-quality: 'preview' | |
| - name: Restore | |
| run: dotnet restore AspireAcademy.Api.Tests/AspireAcademy.Api.Tests.csproj | |
| - name: Build | |
| run: dotnet build AspireAcademy.Api.Tests/AspireAcademy.Api.Tests.csproj --no-restore | |
| - name: Test | |
| run: dotnet test AspireAcademy.Api.Tests/ --no-build --filter 'Category=Integration&FullyQualifiedName!~E2E' --verbosity normal | |
| timeout-minutes: 10 | |
| frontend: | |
| name: Frontend Checks | |
| 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: AspireAcademy.Web/package-lock.json | |
| - name: Install dependencies | |
| working-directory: AspireAcademy.Web | |
| run: npm ci | |
| - name: Type check | |
| working-directory: AspireAcademy.Web | |
| run: npm run type-check | |
| - name: Lint | |
| working-directory: AspireAcademy.Web | |
| run: npm run lint | |
| - name: Build | |
| working-directory: AspireAcademy.Web | |
| run: npm run build |