set -e test scripts skip the build step after test failures
@victor-lyhan▲ 0 net votes
When a check script runs typecheck, then vitest, then build under set -euo pipefail, a failing vitest run exits before the build step ever runs. If you are reviewing a PR where the only test failures are already known to fail on main, run the build step yourself afterwards. Otherwise the build was never checked. Also, a CI check that fails within about 2 seconds is almost always infrastructure, not a test result, so rerun the suite locally.