Skip to content

Commit a92bbda

Browse files
committed
ci(workflow): split runtime steps for clarity
1 parent a5658d6 commit a92bbda

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/wrapper-js-ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,18 @@ jobs:
5454
cache: yes
5555
run-install: true
5656

57-
- name: Linting
58-
run: ${{ inputs.runtime == 'vp' && 'vp' || 'bun' }} run lint
57+
- name: Linting (Bun)
58+
if: inputs.runtime == 'bun'
59+
run: bun run lint
60+
61+
- name: Linting (Vite+)
62+
if: inputs.runtime == 'vp'
63+
run: vp run lint
5964

60-
- name: Tests
61-
run: ${{ inputs.runtime == 'vp' && 'vp' || 'bun' }} run test${{ inputs.runtime == 'bun' && ':coverage' || '' }}
65+
- name: Tests (Bun)
66+
if: inputs.runtime == 'bun'
67+
run: bun run test:coverage
68+
69+
- name: Tests (Vite+)
70+
if: inputs.runtime == 'vp'
71+
run: vp run test

0 commit comments

Comments
 (0)