diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index acca934..34a3a29 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -51,6 +51,7 @@ on: - sveltekit - unocss - vike + - vite-environment-examples - vite-plugin-pwa - vite-plugin-react - vite-plugin-react-pages diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index 308ca96..dfb4978 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -57,6 +57,7 @@ on: - sveltekit - unocss - vike + - vite-environment-examples - vite-plugin-pwa - vite-plugin-react - vite-plugin-react-pages diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 56a7cf6..6d104fe 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -63,6 +63,7 @@ jobs: - sveltekit - unocss - vike + - vite-environment-examples - vite-plugin-pwa - vite-plugin-react - vite-plugin-react-pages diff --git a/tests/vite-environment-examples.ts b/tests/vite-environment-examples.ts new file mode 100644 index 0000000..d08a569 --- /dev/null +++ b/tests/vite-environment-examples.ts @@ -0,0 +1,16 @@ +import { runInRepo } from '../utils.ts' +import type { RunOptions } from '../types.d.ts' + +export async function test(options: RunOptions) { + if (options.viteMajor < 6) { + return + } + await runInRepo({ + ...options, + repo: 'hi-ogawa/vite-environment-examples', + branch: 'main', + build: 'vite-ecosystem-ci:build', + beforeTest: 'vite-ecosystem-ci:before-test', + test: 'vite-ecosystem-ci:test', + }) +}