chore: fix PR 81 validation type error #2
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 reviewed fixes | |
| on: | |
| push: | |
| branches: | |
| - claude/comprehensive-audit-optimization-suldrn | |
| paths: | |
| - .github/pr81-fix.py | |
| - .github/workflows/pr81-autofix.yml | |
| 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 reviewed fixes | |
| run: | | |
| python3 .github/pr81-fix.py | |
| sed -i 's/appKey?: string;/appKey: string;/' src/app.ts | |
| rm .github/pr81-fix.py .github/workflows/pr81-autofix.yml | |
| - 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: address PR review findings" | |
| git push --force origin HEAD:refs/heads/pr81-reviewed-fixes |