From 5a62fce5d67e26972fabb7fb5ff644f42d80b995 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Sun, 21 Apr 2024 15:12:25 +0800 Subject: [PATCH] feat: add vuepress test --- .github/workflows/ecosystem-ci-from-pr.yml | 2 ++ .github/workflows/ecosystem-ci-selected.yml | 1 + .github/workflows/ecosystem-ci.yml | 1 + tests/vuepress.ts | 12 ++++++++++++ 4 files changed, 16 insertions(+) create mode 100755 tests/vuepress.ts diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 440ae8d..5857148 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -43,6 +43,7 @@ on: - vitepress - vue-i18n - vue-macros + - vuepress - vuetify - vueuse - vue-simple-compiler @@ -112,6 +113,7 @@ jobs: - vitepress - vue-i18n - vue-macros + - vuepress - vuetify - vueuse - vue-simple-compiler diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index f6dab62..8f31864 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -48,6 +48,7 @@ on: - vitepress - vue-i18n - vue-macros + - vuepress - vuetify - vueuse - vue-simple-compiler diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 221cd91..1c4ba15 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -54,6 +54,7 @@ jobs: - vitepress - vue-i18n - vue-macros + - vuepress - vuetify - vueuse - vue-simple-compiler diff --git a/tests/vuepress.ts b/tests/vuepress.ts new file mode 100755 index 0000000..9bd49f2 --- /dev/null +++ b/tests/vuepress.ts @@ -0,0 +1,12 @@ +import { runInRepo } from '../utils' +import { RunOptions } from '../types' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'vuepress/core', + branch: 'main', + build: 'build', + test: 'test', + }) +}