From 75bf4e0e71af57719eaad4aeb66866fb9806a2e5 Mon Sep 17 00:00:00 2001 From: "Ghislain B." Date: Wed, 9 Oct 2024 09:48:34 -0400 Subject: [PATCH] feat: add `lerna-lite` ecosystem test (#26) --- .github/workflows/ecosystem-ci-from-pr.yml | 2 ++ .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/lerna-lite.ts | 11 +++++++++++ 4 files changed, 15 insertions(+) create mode 100644 tests/lerna-lite.ts diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 883d4ac..a0d0d3c 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -34,6 +34,7 @@ on: - nuxt-test-utils - elk - effect + - lerna-lite - zustand - vue - vite @@ -107,6 +108,7 @@ jobs: - nuxt-test-utils - elk - effect + - lerna-lite - zustand - vue - vite diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index 8780ee2..8067f31 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -39,6 +39,7 @@ on: - nuxt-test-utils - elk - effect + - lerna-lite - zustand - vue - vite diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index da988d2..22f903a 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -45,6 +45,7 @@ jobs: - nuxt-test-utils - elk - effect + - lerna-lite - zustand - vue - vite diff --git a/tests/lerna-lite.ts b/tests/lerna-lite.ts new file mode 100644 index 0000000..8e75ea6 --- /dev/null +++ b/tests/lerna-lite.ts @@ -0,0 +1,11 @@ +import { runInRepo } from '../utils' +import { RunOptions } from '../types' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'lerna-lite/lerna-lite', + test: 'pnpm test', + build: 'build', + }) +}