Skip to content

Commit 4f0584c

Browse files
committed
test(e2e): add vitepress
1 parent 4ae8650 commit 4f0584c

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,15 @@ jobs:
154154
# TODO(fengmk2): run all builds and tests after tsdown version upgrade
155155
vite run @vitejs/plugin-rsc#build
156156
vite run @vitejs/plugin-rsc#test
157+
- name: vitepress
158+
node-version: 24
159+
command: |
160+
npx playwright install chromium
161+
vite run format
162+
vite test run -r __tests__/unit
163+
vite run tests-e2e#test
164+
VITE_TEST_BUILD=1 vite run tests-e2e#test
165+
vite run tests-init#test
157166
158167
steps:
159168
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

ecosystem-ci/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ rollipop
44
frm-stack
55
vue-mini
66
vite-plugin-react
7+
vitepress

ecosystem-ci/repo.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@
2828
"repository": "https://github.com/vitejs/vite-plugin-react.git",
2929
"branch": "main",
3030
"hash": "0d3912b73d3aa1dc8f64619c82b3dacb0769e49e"
31+
},
32+
"vitepress": {
33+
"repository": "https://github.com/vuejs/vitepress.git",
34+
"branch": "feat/vite-8",
35+
"hash": "9330f228861623c71f2598271d4e79c9c53f2c08"
3136
}
3237
}

0 commit comments

Comments
 (0)