docs(pages): delete GitHub Pages deployment workflow #37
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 & Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| - "**/*.md" | |
| - "docs/**" | |
| pull_request: | |
| paths-ignore: | |
| - "**/*.md" | |
| - "docs/**" | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| build: | |
| name: Build & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "21" | |
| distribution: "temurin" | |
| cache: maven | |
| # Build everything via the aggregator (reactor) so api-contract is available to downstream modules | |
| - name: Build all modules (tests + coverage) | |
| run: mvn -B -q -ntp clean verify | |
| - name: Upload generated client sources | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: generated-client-sources | |
| path: customer-service-client/target/generated-sources/openapi/src/gen/java | |
| if-no-files-found: warn | |
| retention-days: 7 | |
| - name: Upload OpenAPI spec (YAML) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: customer-api-docs | |
| path: customer-service-client/target/classes/customer-api-docs.yaml | |
| if-no-files-found: warn | |
| retention-days: 7 | |
| - name: Upload coverage (customer-service) | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: | | |
| customer-service/target/site/jacoco*/jacoco.xml | |
| flags: customer-service | |
| name: customer-service | |
| fail_ci_if_error: false | |
| - name: Upload coverage (customer-service-client) | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: | | |
| customer-service-client/target/site/jacoco*/jacoco.xml | |
| flags: customer-service-client | |
| name: customer-service-client | |
| fail_ci_if_error: false |