Branding: add README header logo and DX user-facing naming #43
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: Build & Test | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: nuget-${{ runner.os }}-${{ hashFiles('src/**/*.csproj') }} | |
| restore-keys: | | |
| nuget-${{ runner.os }}- | |
| - run: dotnet restore | |
| working-directory: src | |
| - run: dotnet build --no-restore | |
| working-directory: src | |
| - run: dotnet test --no-build --verbosity normal | |
| working-directory: src | |
| frontend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: src/Clientside/package-lock.json | |
| - run: npm ci --legacy-peer-deps | |
| working-directory: src/Clientside | |
| - name: Prettier check | |
| run: npm run format:check | |
| working-directory: src/Clientside | |
| - name: ESLint | |
| run: npm run lint | |
| working-directory: src/Clientside | |
| - run: npm run build | |
| working-directory: src/Clientside | |
| playwright: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: src/Clientside/package-lock.json | |
| - run: npm ci --legacy-peer-deps | |
| working-directory: src/Clientside | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps chromium | |
| working-directory: src/Clientside | |
| - name: Run Playwright component tests | |
| run: npm run test-ct | |
| working-directory: src/Clientside | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: src/Clientside/playwright-report/ | |
| retention-days: 14 |