|
9 | 9 | install:
|
10 | 10 | name: Install packages
|
11 | 11 | runs-on: ubuntu-latest
|
12 |
| - |
13 | 12 | steps:
|
14 | 13 | - name: Checkout
|
15 | 14 | uses: actions/checkout@v3
|
16 | 15 | - name: Setup pnpm
|
17 | 16 | uses: ./.github/actions/pnpm
|
18 | 17 |
|
19 |
| - lint_website: |
20 |
| - name: Run ESLint in website |
| 18 | + library_prettier: |
| 19 | + name: Run Prettier in library |
21 | 20 | needs: install
|
22 | 21 | runs-on: ubuntu-latest
|
23 |
| - |
24 | 22 | steps:
|
25 | 23 | - name: Checkout
|
26 | 24 | uses: actions/checkout@v3
|
27 | 25 | - name: Setup pnpm
|
28 | 26 | uses: ./.github/actions/pnpm
|
| 27 | + - name: Prettier check |
| 28 | + run: pnpm format.check |
| 29 | + working-directory: library |
29 | 30 |
|
30 |
| - - name: ESLint check |
31 |
| - run: pnpm lint |
32 |
| - working-directory: website |
33 |
| - |
34 |
| - format_website: |
35 |
| - name: Run Prettier in website |
| 31 | + library_eslint: |
| 32 | + name: Run ESLint in library |
36 | 33 | needs: install
|
37 | 34 | runs-on: ubuntu-latest
|
38 |
| - |
39 | 35 | steps:
|
40 | 36 | - name: Checkout
|
41 | 37 | uses: actions/checkout@v3
|
42 | 38 | - name: Setup pnpm
|
43 | 39 | uses: ./.github/actions/pnpm
|
| 40 | + - name: ESLint check |
| 41 | + run: pnpm lint |
| 42 | + working-directory: library |
44 | 43 |
|
45 |
| - - name: Prettier check |
46 |
| - run: pnpm format.check |
47 |
| - working-directory: website |
48 |
| - |
49 |
| - lint_library: |
50 |
| - name: Run ESLint in library |
| 44 | + library_vitest: |
| 45 | + name: Run Vitest in library |
51 | 46 | needs: install
|
52 | 47 | runs-on: ubuntu-latest
|
53 |
| - |
54 | 48 | steps:
|
55 | 49 | - name: Checkout
|
56 | 50 | uses: actions/checkout@v3
|
57 | 51 | - name: Setup pnpm
|
58 | 52 | uses: ./.github/actions/pnpm
|
59 |
| - |
60 |
| - - name: ESLint check |
61 |
| - run: pnpm lint |
| 53 | + - name: Vitest tests |
| 54 | + run: pnpm test |
62 | 55 | working-directory: library
|
63 | 56 |
|
64 |
| - format_library: |
65 |
| - name: Run Prettier in library |
| 57 | + website_prettier: |
| 58 | + name: Run Prettier in website |
66 | 59 | needs: install
|
67 | 60 | runs-on: ubuntu-latest
|
68 |
| - |
69 | 61 | steps:
|
70 | 62 | - name: Checkout
|
71 | 63 | uses: actions/checkout@v3
|
72 | 64 | - name: Setup pnpm
|
73 | 65 | uses: ./.github/actions/pnpm
|
74 |
| - |
75 | 66 | - name: Prettier check
|
76 | 67 | run: pnpm format.check
|
77 |
| - working-directory: library |
| 68 | + working-directory: website |
78 | 69 |
|
79 |
| - test_library: |
80 |
| - name: Run Vitest in library |
| 70 | + website_eslint: |
| 71 | + name: Run ESLint in website |
81 | 72 | needs: install
|
82 | 73 | runs-on: ubuntu-latest
|
83 |
| - |
84 | 74 | steps:
|
85 | 75 | - name: Checkout
|
86 | 76 | uses: actions/checkout@v3
|
87 | 77 | - name: Setup pnpm
|
88 | 78 | uses: ./.github/actions/pnpm
|
89 |
| - |
90 |
| - - name: Vitest tests |
91 |
| - run: pnpm test |
92 |
| - working-directory: library |
| 79 | + - name: ESLint check |
| 80 | + run: pnpm lint |
| 81 | + working-directory: website |
0 commit comments