Skip to content

Commit

Permalink
feat: add vuepress test (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Jun 17, 2024
1 parent b701fa6 commit cef0e2d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ on:
- vite-setup-catalogue
- vitepress
- vitest
- vuepress
jobs:
init:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ on:
- vite-setup-catalogue
- vitepress
- vitest
- vuepress
jobs:
execute-selected-suite:
timeout-minutes: 30
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- vite-setup-catalogue
- vitepress
- vitest
- vuepress
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
15 changes: 15 additions & 0 deletions tests/vuepress.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { runInRepo } from '../utils.ts'
import type { RunOptions } from '../types.d.ts'

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'vuepress/core',
overrides: {
'@vitejs/plugin-vue': true,
},
branch: 'main',
build: 'build',
test: 'test',
})
}

0 comments on commit cef0e2d

Please sign in to comment.