mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 04:38:54 +00:00
chore(napi): only enable Codspeed plugin on CI (#2733)
When running NAPI benchmarks locally, Codspeed plugin hides the benchmark results.
This commit is contained in:
parent
75226f3b4a
commit
692e9bcab4
1 changed files with 1 additions and 1 deletions
|
|
@ -2,5 +2,5 @@ import {defineConfig} from 'vitest/config';
|
|||
import codspeedPlugin from '@codspeed/vitest-plugin';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [codspeedPlugin()]
|
||||
plugins: process.env.CI ? [codspeedPlugin()] : []
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue