|
7 | 7 | format:
|
8 | 8 | name: Format
|
9 | 9 | runs-on: ubuntu-22.04
|
10 |
| - strategy: |
11 |
| - matrix: |
12 |
| - node-version: latest |
13 | 10 | steps:
|
14 | 11 | - uses: actions/checkout@v4
|
| 12 | + - uses: actions/setup-node@v4 |
| 13 | + with: |
| 14 | + node-version: 22 |
15 | 15 | - name: Install pnpm
|
16 | 16 | uses: pnpm/action-setup@v4
|
17 |
| - with: |
18 |
| - version: 10 |
19 | 17 | - name: Use Node.js ${{ matrix.node-version }}
|
20 | 18 | uses: actions/setup-node@v4
|
21 | 19 | with:
|
22 | 20 | node-version: ${{ matrix.node-version }}
|
23 |
| - cache: 'pnpm' |
| 21 | + cache: 'pnpm' |
24 | 22 | - name: Install dependencies
|
25 | 23 | run: pnpm install --frozen-lockfile
|
26 | 24 | - name: Run Formatter
|
27 | 25 | run: pnpm format:check
|
28 | 26 | test:
|
29 |
| - name: Format |
30 |
| - runs-on: ubuntu-22.04 |
31 |
| - strategy: |
32 |
| - matrix: |
33 |
| - node-version: latest |
34 |
| - steps: |
35 |
| - - uses: actions/checkout@v4 |
36 |
| - - name: Install pnpm |
37 |
| - uses: pnpm/action-setup@v4 |
38 |
| - with: |
39 |
| - version: 10 |
40 |
| - - name: Use Node.js ${{ matrix.node-version }} |
41 |
| - uses: actions/setup-node@v4 |
42 |
| - with: |
43 |
| - node-version: ${{ matrix.node-version }} |
44 |
| - cache: 'pnpm' |
45 |
| - - name: Install dependencies |
46 |
| - run: pnpm install --frozen-lockfile |
47 |
| - - name: Run tests |
48 |
| - run: pnpm test |
| 27 | + name: Test |
| 28 | + runs-on: ubuntu-22.04 |
| 29 | + steps: |
| 30 | + - uses: actions/checkout@v4 |
| 31 | + - uses: actions/setup-node@v4 |
| 32 | + with: |
| 33 | + node-version: 22 |
| 34 | + - name: Install pnpm |
| 35 | + uses: pnpm/action-setup@v4 |
| 36 | + - name: Use Node.js ${{ matrix.node-version }} |
| 37 | + uses: actions/setup-node@v4 |
| 38 | + with: |
| 39 | + node-version: ${{ matrix.node-version }} |
| 40 | + cache: 'pnpm' |
| 41 | + - name: Install dependencies |
| 42 | + run: pnpm install --frozen-lockfile |
| 43 | + - name: Run tests |
| 44 | + run: pnpm test |
49 | 45 |
|
50 | 46 | build:
|
51 |
| - name: Format |
| 47 | + name: Build |
52 | 48 | runs-on: ubuntu-22.04
|
53 |
| - strategy: |
54 |
| - matrix: |
55 |
| - node-version: latest |
56 | 49 | steps:
|
57 | 50 | - uses: actions/checkout@v4
|
| 51 | + - uses: actions/setup-node@v4 |
| 52 | + with: |
| 53 | + node-version: 22 |
58 | 54 | - name: Install pnpm
|
59 | 55 | uses: pnpm/action-setup@v4
|
60 |
| - with: |
61 |
| - version: 10 |
62 | 56 | - name: Use Node.js ${{ matrix.node-version }}
|
63 | 57 | uses: actions/setup-node@v4
|
64 | 58 | with:
|
65 | 59 | node-version: ${{ matrix.node-version }}
|
66 |
| - cache: 'pnpm' |
| 60 | + cache: 'pnpm' |
67 | 61 | - name: Install dependencies
|
68 | 62 | run: pnpm install --frozen-lockfile
|
69 | 63 | - name: Build project
|
|
0 commit comments