Skip to content

Commit aa166a8

Browse files
authored
ci: run tests with rolldown-vite (#681)
1 parent 112099a commit aa166a8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@ jobs:
9292
- name: Test build
9393
run: pnpm run test-build
9494

95+
- name: Setup rolldown-vite
96+
run: |
97+
sed -i"" -e "s/overrides:/overrides:\n vite: catalog:rolldown-vite/" pnpm-workspace.yaml
98+
pnpm i --no-frozen-lockfile
99+
100+
- name: Test serve (rolldown-vite)
101+
run: pnpm run test-serve
102+
103+
- name: Test build (rolldown-vite)
104+
run: pnpm run test-build
105+
95106
lint:
96107
if: github.repository == 'vitejs/vite-plugin-vue'
97108
timeout-minutes: 10

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ catalog:
77
'vite': ^7.1.7
88
'vue-router': ^4.5.1
99

10+
catalogs:
11+
rolldown-vite:
12+
vite: npm:rolldown-vite@^7.1.15
13+
1014
overrides:
1115
'@vitejs/plugin-vue': workspace:*
1216

0 commit comments

Comments
 (0)