chore(deps): update .net dependencies #472
Workflow file for this run
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 | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths-ignore: | |
| - '.scripts/**' | |
| - .gitignore | |
| - CODE_OF_CONDUCT.md | |
| - LICENSE | |
| - README.md | |
| workflow_call: | |
| inputs: | |
| build-artifacts: | |
| type: boolean | |
| required: true | |
| default: false | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| name: Checkout code | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props', '**/*.csproj') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget- | |
| #if (!UseApiOnly) | |
| - name: Install Node & cache npm packages | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.x' | |
| cache: 'npm' | |
| cache-dependency-path: | | |
| src/Web/ClientApp/package-lock.json | |
| src/Web/ClientApp-React/package-lock.json | |
| #endif | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v5 | |
| - name: Restore solution | |
| run: dotnet restore | |
| - name: Build solution | |
| run: dotnet build --no-restore --configuration Release | |
| #if (!UseApiOnly) | |
| - name: Install Playwright browsers | |
| run: pwsh artifacts/bin/Web.AcceptanceTests/release/playwright.ps1 install --with-deps chromium | |
| #endif | |
| - name: Test solution | |
| run: dotnet test --no-build --configuration Release |