0.0.5 • Published 10 months ago

vitest-plugin-github-actions v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

vitest-plugin-github-actions

NPM version

GitHub actions error and coverage reporter for vitest.

Install

pnpm install --save-dev vitest-plugin-github-actions

Config

// vitest.config.ts || vite.config.ts
// import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import GitHubVitest from 'vitest-plugin-github-actions'

export default defineConfig({
  test: {
    reporters: process.env.GITHUB_ACTIONS
      ? ['default', new GitHubVitest()]
      : 'default',
  },
})

Credits

Thanks to:

License

MIT License © 2023 Elone Hoo

0.0.5

10 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago