Fix landscape composite moon rendering alignment in photography guide #29
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: | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - "**/*.md" | |
| - "documents/**" | |
| - "logs/**" | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| name: Typecheck · Lint · Test | |
| runs-on: [self-hosted, macOS, eclipse-timer] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile --prefer-offline | |
| - name: Typecheck | |
| run: pnpm typecheck | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Test | |
| run: pnpm test:ci | |
| - name: Coverage summary and optional gate | |
| env: | |
| COVERAGE_MIN_LINES: ${{ vars.COVERAGE_MIN_LINES }} | |
| run: pnpm coverage:gate | |
| - name: Upload test and coverage artifacts | |
| if: ${{ always() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ci-test-and-coverage | |
| if-no-files-found: warn | |
| path: | | |
| apps/*/artifacts/test-results/** | |
| apps/*/artifacts/coverage/** | |
| packages/*/artifacts/test-results/** | |
| packages/*/artifacts/coverage/** |