Skip to content

Commit a2e8ba8

Browse files
committed
ci(create-e2e): add vp check step and vp run test for library
1 parent 2692c87 commit a2e8ba8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test-vp-create.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ jobs:
130130
- name: library
131131
create-args: vite:library --directory test-project
132132
template-args: ''
133-
verify-command: vp run build
133+
verify-command: |
134+
vp run build
135+
vp run test
134136
package-manager:
135137
- pnpm
136138
- npm
@@ -248,6 +250,10 @@ jobs:
248250
console.log('✓ vite-plus@' + pkg.version + ' installed correctly');
249251
"
250252
253+
- name: Run vp check
254+
working-directory: ${{ runner.temp }}/test-project
255+
run: vp check
256+
251257
- name: Verify project builds
252258
working-directory: ${{ runner.temp }}/test-project
253259
run: ${{ matrix.template.verify-command }}

0 commit comments

Comments
 (0)