We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a887d7 commit a9a2181Copy full SHA for a9a2181
1 file changed
.github/workflows/ci.yml
@@ -17,8 +17,17 @@ permissions:
17
18
jobs:
19
validate:
20
- name: Validate Project
+ name: ${{ matrix.task.name }}
21
runs-on: ubuntu-latest
22
+ strategy:
23
+ matrix:
24
+ task:
25
+ - name: 'Code Style Verification (Prettier)'
26
+ command: 'format:check'
27
+ - name: 'Static Code Analysis (ESLint)'
28
+ command: 'lint'
29
+ - name: 'Automated Unit & E2E Testing (Vitest)'
30
+ command: 'test'
31
steps:
32
- name: Checkout Code
33
uses: actions/checkout@v4
@@ -37,11 +46,5 @@ jobs:
37
46
- name: Install Dependencies
38
47
run: pnpm install --frozen-lockfile
39
48
40
- - name: Check Formatting
41
- run: pnpm run format:check
42
-
43
- - name: Run Linter
44
- run: pnpm run lint
45
- - name: Run Tests
- run: pnpm run test
49
+ - name: Execute Validation
50
+ run: pnpm run ${{ matrix.task.command }}
0 commit comments