chore: validate final PR 81 edge-case fixes #1
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: PR 81 final edge-case validation | |
| on: | |
| push: | |
| branches: | |
| - claude/comprehensive-audit-optimization-suldrn | |
| paths: | |
| - .github/pr81-final-fix.py | |
| - .github/workflows/pr81-finalize.yml | |
| concurrency: | |
| group: pr81-final-edge-case-validation | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| jobs: | |
| apply-test-publish: | |
| if: github.actor != 'github-actions[bot]' | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Apply final edge-case fixes | |
| run: | | |
| python3 .github/pr81-final-fix.py | |
| rm .github/pr81-final-fix.py | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Format, lint, and typecheck | |
| run: bun run lint:fix | |
| - name: Run tests with coverage | |
| run: bun run test:coverage | |
| - name: Build package | |
| run: bun run build | |
| - name: Set up the oldest supported Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '18.17.0' | |
| - name: Run Node 18 smoke tests | |
| run: node scripts/smoke-lib.js | |
| - name: Commit tested fixes | |
| run: | | |
| git diff --check | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add -A | |
| git commit -m "fix: handle final Hermes and CLI edge cases" | |
| git push --force origin HEAD:refs/heads/pr81-final-reviewed |