feat(location): add MVT build pipeline for #1508 #195
Workflow file for this run
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: Naming Audit | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| paths: | |
| - '.github/workflows/naming-audit.yml' | |
| - 'app/src/**/*.ts' | |
| - 'app/src/**/*.tsx' | |
| - 'packages/*/src/**/*.ts' | |
| - 'packages/*/src/**/*.tsx' | |
| - 'plugins/*-plugin/src/**/*.ts' | |
| - 'plugins/*-plugin/src/**/*.tsx' | |
| - 'scripts/naming-audit/**' | |
| - 'scripts/naming-audit.ts' | |
| concurrency: | |
| group: naming-audit-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| naming-audit: | |
| name: Naming Convention Check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| package_json_file: package.json | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install deps | |
| run: pnpm install --frozen-lockfile --filter . | |
| - name: Run naming audit | |
| env: | |
| NAMING_AUDIT_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| run: | | |
| set -euo pipefail | |
| naming_audit_parent="$(mktemp -d)" | |
| naming_audit_base_dir="${naming_audit_parent}/base" | |
| naming_audit_base_report="${RUNNER_TEMP}/naming-audit-base.json" | |
| git worktree add --detach "${naming_audit_base_dir}" "${NAMING_AUDIT_BASE_SHA}" | |
| pnpm tsx scripts/naming-audit.ts \ | |
| --root "${naming_audit_base_dir}" \ | |
| --changed-since "${NAMING_AUDIT_BASE_SHA}" \ | |
| --format json \ | |
| --report-only > "${naming_audit_base_report}" | |
| git worktree remove "${naming_audit_base_dir}" | |
| rmdir "${naming_audit_parent}" | |
| pnpm tsx scripts/naming-audit.ts \ | |
| --ci \ | |
| --changed-since "${NAMING_AUDIT_BASE_SHA}" \ | |
| --baseline "${naming_audit_base_report}" |