From 4aeb6edb2dbf54f8d993da469fe0dcd29c8ee3cc Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Thu, 5 Mar 2026 15:31:32 -0500 Subject: [PATCH 1/2] feat: add Netlify vite plugins --- .github/workflows/ecosystem-ci-rolldown.yml | 1 + .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/netlify-vite-plugin.ts | 13 +++++++++++++ 4 files changed, 16 insertions(+) create mode 100644 tests/netlify-vite-plugin.ts diff --git a/.github/workflows/ecosystem-ci-rolldown.yml b/.github/workflows/ecosystem-ci-rolldown.yml index de43edcc..acd806d3 100644 --- a/.github/workflows/ecosystem-ci-rolldown.yml +++ b/.github/workflows/ecosystem-ci-rolldown.yml @@ -54,6 +54,7 @@ jobs: - ladle - laravel - marko + - netlify-vite-plugin - nuxt - one # - nx # disabled temporarily diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index 66a465e3..69868ff0 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -54,6 +54,7 @@ on: - ladle - laravel - marko + - netlify-vite-plugin - nuxt - nx - one diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 00a0bb11..bcf0a648 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -57,6 +57,7 @@ jobs: - ladle - laravel - marko + - netlify-vite-plugin - nuxt - one # - nx # disabled temporarily diff --git a/tests/netlify-vite-plugin.ts b/tests/netlify-vite-plugin.ts new file mode 100644 index 00000000..16735ccd --- /dev/null +++ b/tests/netlify-vite-plugin.ts @@ -0,0 +1,13 @@ +import { runInRepo } from '../utils.ts' +import type { RunOptions } from '../types.d.ts' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'netlify/primitives', + agent: 'npm', + build: 'npm run build --workspaces', + beforeTest: 'npx playwright install chromium', + test: ['npm run test -w packages/vite-plugin'], + }) +} From 53edb4ecb49d4940be89ef68c1b69edef58701fc Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Mon, 9 Mar 2026 08:42:42 -0400 Subject: [PATCH 2/2] refactor: don't set `agent` explicitly Co-authored-by: Dominik G. --- tests/netlify-vite-plugin.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/netlify-vite-plugin.ts b/tests/netlify-vite-plugin.ts index 16735ccd..ba875ec9 100644 --- a/tests/netlify-vite-plugin.ts +++ b/tests/netlify-vite-plugin.ts @@ -5,7 +5,6 @@ export async function test(options: RunOptions) { await runInRepo({ ...options, repo: 'netlify/primitives', - agent: 'npm', build: 'npm run build --workspaces', beforeTest: 'npx playwright install chromium', test: ['npm run test -w packages/vite-plugin'],