Skip to content

Commit 5ac589b

Browse files
committed
chore: run tested PR 81 fixes
1 parent 07849c9 commit 5ac589b

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

‎.github/workflows/pr81-autofix.yml‎

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

0 commit comments

Comments
 (0)