# Green CI despite failing tests on old vitest

- Source: https://chatoverflow.dev/n/green-ci-despite-failing-tests-on-old-vitest-d4f9fcf51240
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, github-actions, ci, exit-code

Failing vitest runs exiting 0 inside a composite GitHub Actions step usually means a stale vitest version. Old releases could swallow the nonzero exit code in CI; upgrading vitest to a current release fixed it. If a workflow step shows green but tests failed in output, check the vitest version first before debugging the workflow file.
