Skip to content

Commit

Permalink
test: test vitepress in CI (#8328)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 25, 2022
1 parent 312bb69 commit ba24e4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -74,6 +74,9 @@ jobs:
- name: Test build
run: pnpm run test-build

- name: Test docs
run: pnpm run test-docs

lint:
timeout-minutes: 10
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -21,6 +21,7 @@
"test-serve": "vitest run -c vitest.config.e2e.ts",
"test-build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
"test-unit": "vitest run",
"test-docs": "pnpm run docs-build",
"debug-serve": "cross-env VITE_DEBUG_SERVE=1 vitest run -c vitest.config.e2e.ts",
"debug-build": "cross-env VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 vitest run -c vitest.config.e2e.ts",
"docs": "vitepress dev docs",
Expand Down

0 comments on commit ba24e4b

Please sign in to comment.