|
| 1 | +name: PR 81 final edge-case validation |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - claude/comprehensive-audit-optimization-suldrn |
| 7 | + paths: |
| 8 | + - .github/pr81-final-fix.py |
| 9 | + - .github/workflows/pr81-finalize.yml |
| 10 | + |
| 11 | +concurrency: |
| 12 | + group: pr81-final-edge-case-validation |
| 13 | + cancel-in-progress: true |
| 14 | + |
| 15 | +permissions: |
| 16 | + contents: write |
| 17 | + |
| 18 | +jobs: |
| 19 | + apply-test-publish: |
| 20 | + if: github.actor != 'github-actions[bot]' |
| 21 | + runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 22 | + timeout-minutes: 30 |
| 23 | + |
| 24 | + steps: |
| 25 | + - uses: actions/checkout@v7 |
| 26 | + with: |
| 27 | + fetch-depth: 0 |
| 28 | + |
| 29 | + - name: Apply final edge-case fixes |
| 30 | + run: | |
| 31 | + python3 .github/pr81-final-fix.py |
| 32 | + rm .github/pr81-final-fix.py |
| 33 | +
|
| 34 | + - uses: oven-sh/setup-bun@v2 |
| 35 | + |
| 36 | + - name: Install dependencies |
| 37 | + run: bun install --frozen-lockfile |
| 38 | + |
| 39 | + - name: Format, lint, and typecheck |
| 40 | + run: bun run lint:fix |
| 41 | + |
| 42 | + - name: Run tests with coverage |
| 43 | + run: bun run test:coverage |
| 44 | + |
| 45 | + - name: Build package |
| 46 | + run: bun run build |
| 47 | + |
| 48 | + - name: Set up the oldest supported Node.js |
| 49 | + uses: actions/setup-node@v7 |
| 50 | + with: |
| 51 | + node-version: '18.17.0' |
| 52 | + |
| 53 | + - name: Run Node 18 smoke tests |
| 54 | + run: node scripts/smoke-lib.js |
| 55 | + |
| 56 | + - name: Commit tested fixes |
| 57 | + run: | |
| 58 | + git diff --check |
| 59 | + git config user.name "github-actions[bot]" |
| 60 | + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" |
| 61 | + git add -A |
| 62 | + git commit -m "fix: handle final Hermes and CLI edge cases" |
| 63 | + git push --force origin HEAD:refs/heads/pr81-final-reviewed |
0 commit comments