Vitest reporter that will append test results to the GITHUB_STEP_SUMMARY file.
pnpm i -D vitest-github-actions-summary-reporter ts-essentials
Add new custom reporter vite.config.ts
import { defineConfig } from 'vitest/config'
import { GithubActionsReporter } from 'vitest-github-actions-summary-reporter'
export default defineConfig({
test: {
reporters: [new GithubActionsReporter()],
},
})