0.0.5 • Published 2 years ago

vitest-plugin-github-actions v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago