Bump the docs group in /docs with 3 updates (#29) #82
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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test-dotnet: | |
| name: Build and Test .NET | |
| runs-on: ubuntu-latest | |
| env: | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| DOTNET_NOLOGO: 1 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| global-json-file: global.json | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: src/Surefire.Dashboard/ui/package-lock.json | |
| - name: Install dashboard UI dependencies | |
| working-directory: src/Surefire.Dashboard/ui | |
| run: npm ci --no-audit --no-fund | |
| - name: Lint dashboard UI | |
| working-directory: src/Surefire.Dashboard/ui | |
| run: npm run lint | |
| - name: Restore solution | |
| run: dotnet restore surefire.slnx | |
| - name: Build solution | |
| run: dotnet build surefire.slnx --configuration Release --no-restore -p:ContinuousIntegrationBuild=true | |
| - name: Run all tests (including store suites) | |
| run: dotnet test surefire.slnx --configuration Release --no-build --verbosity normal | |
| - name: Pack | |
| run: dotnet pack surefire.slnx --configuration Release --no-build --output ./artifacts -p:ContinuousIntegrationBuild=true | |
| - name: Upload packages | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: nupkg | |
| path: | | |
| ./artifacts/*.nupkg | |
| ./artifacts/*.snupkg | |
| if-no-files-found: error | |
| retention-days: 14 |