From 17b51e1d91ed9bcc042053e01c85708e61b8a2bd Mon Sep 17 00:00:00 2001 From: SegaraRai Date: Wed, 26 Jun 2024 03:07:55 +0900 Subject: [PATCH] test: exclude playground tests from root package tests --- .github/workflows/test.yaml | 2 +- vite.config.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aa51763..d962487 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,7 +6,7 @@ on: - main jobs: - deploy: + test: runs-on: ubuntu-latest steps: diff --git a/vite.config.ts b/vite.config.ts index b890c66..6c40aa7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,6 @@ -import { defineConfig } from "vite"; import dts from "vite-plugin-dts"; import { externalizeDeps } from "vite-plugin-externalize-deps"; +import { defineConfig } from "vitest/config"; export default defineConfig({ build: { @@ -26,4 +26,7 @@ export default defineConfig({ rollupTypes: true, }), ], + test: { + include: ["tests/**/*.test.ts"], + }, });