fix(ci): post-runner-image cleanup #7
Reference in New Issue
Block a user
Delete Branch "fix/ci/post-runner-image-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Three follow-up fixes uncovered by the first end-to-end CI run on the self-hosted act_runner image (smoke-test PR).
checkjob — replacenrwl/nx-set-shas@v4(GitHub-API only, 404 on Gitea) with a manual shell step that derivesNX_BASE/NX_HEADfrom local git history (merge-base onpull_request,HEAD~1onpush).perfjob — pin tocatthehacker/ubuntu:full-22.04so Lighthouse CI finds a real Chrome. The default act image (act-22.04) is the minimal variant, ships without browsers.package.json— declarepnpm.onlyBuiltDependenciesto silence the "Ignored build scripts" warning and approve only the post-install hooks we actually rely on (Nx, Prisma, esbuild, swc, native watchers/resolvers).No ADR change — these are purely operational adjustments.
Test plan
checkandperfjobs both green.pnpm installstep output.pushevent onmainre-runscheck,scan,perf,a11ycleanly (nonx-set-shas404).git fetch --depth=0in Nx base resolution