HxPasswordStrength: new component for Bootstrap 6 Password Strength (… #3096
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: .NET | |
| on: | |
| push: | |
| branches: [ main, v6 ] | |
| pull_request: | |
| branches: [ main, v6 ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.nuget/packages | |
| key: nuget-${{ runner.os }}-${{ hashFiles('Directory.Packages.props', '**/*.csproj') }} | |
| restore-keys: | | |
| nuget-${{ runner.os }}- | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore -c Release -p:TreatWarningsAsErrors=true | |
| - name: Cache Playwright browsers | |
| id: playwright-cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-${{ hashFiles('Directory.Packages.props') }} | |
| - name: Install Playwright browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: pwsh Havit.Blazor.E2ETests/bin/Release/net10.0/playwright.ps1 install --with-deps | |
| - name: Install Playwright system dependencies | |
| if: steps.playwright-cache.outputs.cache-hit == 'true' | |
| run: pwsh Havit.Blazor.E2ETests/bin/Release/net10.0/playwright.ps1 install-deps | |
| - name: Test | |
| # TODO v6: E2E tests (Havit.Blazor.E2ETests) are temporarily excluded on the v6 branch. | |
| # The test app still renders v5 component markup against the new Bootstrap 6 CSS, so behavior-based | |
| # E2E tests fail by design until the per-component v6 reworks land (re-enable as part of #1471). | |
| # --ignore-exit-code 8 keeps the filtered (zero-test) E2E assembly from failing the run. | |
| run: dotnet test --no-build -c Release --verbosity normal -- --filter-not-namespace "Havit.Blazor.E2ETests*" --ignore-exit-code 8 |