Skip to content

Commit e1a39ae

Browse files
manuel3108dominikg
andauthored
feat: add sv (#32)
* feat: add sv * add playwright * update deps * Update sv.ts * fix formatting * revert unnecessray files * revert readme * use `create storybook` * remove pre-caching for storybook * fix: add missing sv option in workflow --------- Co-authored-by: dominikg <[email protected]>
1 parent d9c8c90 commit e1a39ae

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

.github/workflows/ecosystem-ci-from-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ on:
4646
- prettier-plugin-svelte
4747
- rollup-plugin-svelte
4848
- skeleton
49+
- sv
4950
- svelte-eslint-parser
5051
- svelte-loader
5152
- svelte-preprocess
@@ -131,6 +132,7 @@ jobs:
131132
- prettier-plugin-svelte
132133
- rollup-plugin-svelte
133134
- skeleton
135+
- sv
134136
- svelte-eslint-parser
135137
- svelte-loader
136138
- svelte-preprocess

.github/workflows/ecosystem-ci-selected.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ on:
4848
- prettier-plugin-svelte
4949
- rollup-plugin-svelte
5050
- skeleton
51+
- sv
5152
- svelte-eslint-parser
5253
- svelte-loader
5354
- svelte-preprocess

.github/workflows/ecosystem-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
- prettier-plugin-svelte
5858
- rollup-plugin-svelte
5959
- skeleton
60+
- sv
6061
- svelte-eslint-parser
6162
- svelte-loader
6263
- svelte-preprocess

tests/sv.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { runInRepo } from '../utils.ts'
2+
import { RunOptions } from '../types.js'
3+
4+
export async function test(options: RunOptions) {
5+
await runInRepo({
6+
...options,
7+
repo: 'sveltejs/cli',
8+
branch: 'main',
9+
build: 'pnpm build',
10+
beforeTest: 'pnpm playwright install chromium',
11+
test: 'pnpm test',
12+
})
13+
}

0 commit comments

Comments
 (0)