This repository was archived by the owner on Mar 18, 2026. It is now read-only.
CI 🔍 Feature/update mongodb driver #15
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 | |
| run-name: CI 🔍 ${{ github.event.pull_request.title }} | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| name: Tests dotnet ${{ matrix.dotnet-version }} ${{ matrix.project }} | |
| timeout-minutes: 15 | |
| strategy: | |
| matrix: | |
| dotnet-version: [8, 10] | |
| project: ['./src/IdentityServer', './src/Server'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet-version }} | |
| - name: Build projects | |
| shell: bash | |
| working-directory: ${{ matrix.project }} | |
| run: dotnet build ./all.csproj | |
| - name: Run tests | |
| shell: bash | |
| working-directory: ${{ matrix.project }} | |
| run: dotnet test ./all.csproj /p:BuildTestsOnly=true --no-build | |
| build_ui: | |
| runs-on: ubuntu-latest | |
| name: Build UI | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| check-latest: true | |
| node-version-file: 'src/UI/package.json' | |
| cache: 'yarn' | |
| cache-dependency-path: 'src/UI/yarn.lock' | |
| - name: Build UI | |
| shell: bash | |
| run: | | |
| export NODE_OPTIONS=--openssl-legacy-provider | |
| yarn config set strict-ssl false | |
| yarn --cwd src/UI | |
| yarn --cwd src/UI build |