From 9f1e3acfcc41c5a1c7fe457846e01d1aa1e4792e Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Tue, 13 Feb 2024 20:29:32 +0800 Subject: [PATCH] chore: add services --- .github/workflows/ecosystem-ci-from-pr.yml | 2 ++ .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/services.ts | 11 +++++++++++ 4 files changed, 15 insertions(+) create mode 100644 tests/services.ts diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 727c6c23..d7b08b23 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -31,6 +31,7 @@ on: - "-" - astro - mdx + - services - vue jobs: init: @@ -104,6 +105,7 @@ jobs: suite: - astro - mdx + - services - vue fail-fast: false steps: diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index c3aea063..45b4aab8 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -36,6 +36,7 @@ on: options: - astro - mdx + - services - vue jobs: execute-selected-suite: diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index c04c25b3..65e1c7b4 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -42,6 +42,7 @@ jobs: suite: - astro - mdx + - services - vue fail-fast: false steps: diff --git a/tests/services.ts b/tests/services.ts new file mode 100644 index 00000000..c02e2fe7 --- /dev/null +++ b/tests/services.ts @@ -0,0 +1,11 @@ +import { runInRepo } from '../utils.ts' +import type { RunOptions } from '../types.js' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'volarjs/services', + branch: 'master', + build: 'build', + }) +}