From c765e4e556f9140d63b3d49704a9dc02d0df49e1 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Wed, 26 Jun 2024 12:39:32 +0200 Subject: [PATCH] feat: add example-layers-monorepo (#11) --- .github/workflows/ecosystem-ci-from-pr.yml | 2 ++ .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/example-layers-monorepo.ts | 11 +++++++++++ 4 files changed, 15 insertions(+) create mode 100644 tests/example-layers-monorepo.ts diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 03ca7928..55eee17a 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -43,6 +43,7 @@ on: - image - pinia - examples + - example-layers-monorepo - bridge - nuxt-com - vite-pwa @@ -137,6 +138,7 @@ jobs: - image - pinia - examples + - example-layers-monorepo - bridge - nuxt-com - vite-pwa diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index b21b5378..43395b0c 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -48,6 +48,7 @@ on: - image - pinia - examples + - example-layers-monorepo - bridge - nuxt-com - vite-pwa diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index e77f03f7..3885fb1a 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -54,6 +54,7 @@ jobs: - image - pinia - examples + - example-layers-monorepo - bridge - nuxt-com - vite-pwa diff --git a/tests/example-layers-monorepo.ts b/tests/example-layers-monorepo.ts new file mode 100644 index 00000000..bb444a59 --- /dev/null +++ b/tests/example-layers-monorepo.ts @@ -0,0 +1,11 @@ +import { runInRepo } from '../utils.ts' +import type { RunOptions } from '../types.d.ts' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'nuxt/example-layers-monorepo', + build: ['prepare'], + test: ['pnpm run -r typecheck'], + }) +}