Skip to content

Commit 4aeb6ed

Browse files
committed
feat: add Netlify vite plugins
1 parent f631b49 commit 4aeb6ed

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
- ladle
5555
- laravel
5656
- marko
57+
- netlify-vite-plugin
5758
- nuxt
5859
- one
5960
# - nx # disabled temporarily

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ on:
5454
- ladle
5555
- laravel
5656
- marko
57+
- netlify-vite-plugin
5758
- nuxt
5859
- nx
5960
- one

.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
- ladle
5858
- laravel
5959
- marko
60+
- netlify-vite-plugin
6061
- nuxt
6162
- one
6263
# - nx # disabled temporarily

tests/netlify-vite-plugin.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 type { RunOptions } from '../types.d.ts'
3+
4+
export async function test(options: RunOptions) {
5+
await runInRepo({
6+
...options,
7+
repo: 'netlify/primitives',
8+
agent: 'npm',
9+
build: 'npm run build --workspaces',
10+
beforeTest: 'npx playwright install chromium',
11+
test: ['npm run test -w packages/vite-plugin'],
12+
})
13+
}

0 commit comments

Comments
 (0)