OPT27 — Duplicate setup-node Calls in Same Job
Anti-pattern: Calling actions/setup-node more than once in the same job.
Detection heuristic:
# Count setup-node occurrences per job
# Parse YAML and count within each job's stepsFix: Remove duplicate calls. If different Node versions are needed, use a matrix instead.
Real-world example (better-auth): release.yml calls setup-node twice in the same job.