Skip to content

Commit d4b43e6

Browse files
committed
test(e2e): add vitepress
1 parent 4858533 commit d4b43e6

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,16 @@ 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 run build
163+
vite test run -r __tests__/unit
164+
vite run tests-e2e#test
165+
VITE_TEST_BUILD=1 vite run tests-e2e#test
166+
vite run tests-init#test
157167
158168
steps:
159169
- 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)