diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index f8aac8e2..8d6fd2b2 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -131,6 +131,7 @@ jobs: - prettier-plugin-svelte - rollup-plugin-svelte - skeleton + - sv - svelte-eslint-parser - svelte-loader - svelte-preprocess diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index 75462045..7e63fdf5 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -48,6 +48,7 @@ on: - prettier-plugin-svelte - rollup-plugin-svelte - skeleton + - sv - svelte-eslint-parser - svelte-loader - svelte-preprocess diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index e146782e..991b0ff3 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -57,6 +57,7 @@ jobs: - prettier-plugin-svelte - rollup-plugin-svelte - skeleton + - sv - svelte-eslint-parser - svelte-loader - svelte-preprocess diff --git a/tests/sv.ts b/tests/sv.ts new file mode 100644 index 00000000..d81e1608 --- /dev/null +++ b/tests/sv.ts @@ -0,0 +1,14 @@ +import { runInRepo } from '../utils.ts' +import { RunOptions } from '../types.js' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'sveltejs/cli', + branch: 'main', + build: 'pnpm build', + beforeTest: + 'pnpm playwright install chromium && pnpx create-storybook@latest --version', // prefetch the storybook cli to reduce fetching errors in tests + test: 'pnpm test', + }) +}