Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
Publish MCP to npm / Build, test, and publish MCP (push) Waiting to run
Publish SDK to npm / Build, test, and publish SDK (push) Waiting to run
Sync action catalog to docs / sync (push) Waiting to run
Publish UI to npm / Build and publish UI (push) Waiting to run
Build and Release / preflight (push) Waiting to run
18 lines
661 B
TypeScript
18 lines
661 B
TypeScript
// Vitest config — used only to RUN the catalog generator (scripts/gen-catalog.test.ts)
|
|
// in an environment where `@snowluma/onebot/action-docs` resolves. The proton
|
|
// plugin provides the same bare-specifier resolver @snowluma/onebot's own tests
|
|
// use, so importing the action specs works identically here.
|
|
import protobufVitePlugin from '@snowluma/proton/vite';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
plugins: [protobufVitePlugin()],
|
|
test: {
|
|
include: ['scripts/**/*.test.ts', 'tests/**/*.test.ts'],
|
|
environment: 'node',
|
|
env: {
|
|
SNOWLUMA_LOG_FILE: '0',
|
|
},
|
|
},
|
|
});
|