fix(cli): place using directives after header comments #9
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: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: src/BlazeUI.Headless/js/package-lock.json | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - run: dotnet restore BlazeUI.slnx | |
| - run: dotnet build BlazeUI.slnx --no-restore -c Release | |
| - name: Unit tests | |
| run: | | |
| dotnet test --project test/BlazeUI.Bridge.Tests --no-build -c Release | |
| dotnet test --project test/BlazeUI.Headless.Tests --no-build -c Release | |
| dotnet test --project test/BlazeUI.Sonner.Tests --no-build -c Release | |
| dotnet test --project test/BlazeUI.UI.CLI.Tests --no-build -c Release | |
| e2e: | |
| runs-on: ubuntu-latest | |
| needs: build-and-test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: src/BlazeUI.Headless/js/package-lock.json | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - run: dotnet restore BlazeUI.slnx | |
| - run: dotnet build BlazeUI.slnx --no-restore -c Release | |
| - run: pwsh test/BlazeUI.E2E/bin/Release/net10.0/playwright.ps1 install --with-deps chromium | |
| - name: E2E tests | |
| run: dotnet test --project test/BlazeUI.E2E --no-build -c Release |