Skip to content

Commit 99275d8

Browse files
committed
test(e2e): add vitepress
1 parent 4878539 commit 99275d8

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
@@ -156,6 +156,16 @@ jobs:
156156
# TODO(fengmk2): run all builds and tests after tsdown version upgrade
157157
vite run @vitejs/plugin-rsc#build
158158
vite run @vitejs/plugin-rsc#test
159+
- name: vitepress
160+
node-version: 24
161+
command: |
162+
npx playwright install chromium
163+
vite run format
164+
vite run build
165+
vite test run -r __tests__/unit
166+
vite run tests-e2e#test
167+
VITE_TEST_BUILD=1 vite run tests-e2e#test
168+
vite run tests-init#test
159169
160170
steps:
161171
- 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)