|
8 | 8 | name: Run ESLint
|
9 | 9 | runs-on: ubuntu-latest
|
10 | 10 | steps:
|
11 |
| - - uses: actions/checkout@v2 |
12 |
| - - uses: actions/setup-node@v2 |
| 11 | + - uses: actions/checkout@v3 |
| 12 | + - uses: pnpm/action-setup@v2.2.2 |
13 | 13 | with:
|
14 |
| - node-version: '14' |
15 |
| - cache: 'yarn' |
16 |
| - - run: yarn |
17 |
| - - run: yarn lint:strict |
| 14 | + version: 7 |
| 15 | + |
| 16 | + with: |
| 17 | + version: 7 |
| 18 | + - uses: actions/setup-node@v3 |
| 19 | + with: |
| 20 | + node-version: '16' |
| 21 | + cache: 'pnpm' |
| 22 | + - run: pnpm install --frozen-lockfile |
| 23 | + - run: pnpm lint:strict |
18 | 24 |
|
19 | 25 | tsc:
|
20 | 26 | name: Run Type Check
|
21 | 27 | runs-on: ubuntu-latest
|
22 | 28 | steps:
|
23 |
| - - uses: actions/checkout@v2 |
24 |
| - - uses: actions/setup-node@v2 |
| 29 | + - uses: actions/checkout@v3 |
| 30 | + |
| 31 | + with: |
| 32 | + version: 7 |
| 33 | + - uses: actions/setup-node@v3 |
25 | 34 | with:
|
26 |
| - node-version: '14' |
27 |
| - cache: 'yarn' |
28 |
| - - run: yarn |
29 |
| - - run: yarn typecheck |
| 35 | + node-version: '16' |
| 36 | + cache: 'pnpm' |
| 37 | + - run: pnpm install --frozen-lockfile |
| 38 | + - run: pnpm typecheck |
30 | 39 |
|
31 | 40 | prettier:
|
32 | 41 | name: Run Prettier Check
|
33 | 42 | runs-on: ubuntu-latest
|
34 | 43 | steps:
|
35 |
| - - uses: actions/checkout@v2 |
36 |
| - - uses: actions/setup-node@v2 |
| 44 | + - uses: actions/checkout@v3 |
| 45 | + - uses: pnpm/action-setup@v2.2.2 |
37 | 46 | with:
|
38 |
| - node-version: '14' |
39 |
| - cache: 'yarn' |
40 |
| - - run: yarn |
41 |
| - - run: yarn format:check |
| 47 | + version: 7 |
| 48 | + - uses: actions/setup-node@v3 |
| 49 | + with: |
| 50 | + node-version: '16' |
| 51 | + cache: 'pnpm' |
| 52 | + - run: pnpm install --frozen-lockfile |
| 53 | + - run: pnpm format:check |
42 | 54 |
|
43 | 55 | test:
|
44 | 56 | name: Run Test
|
45 | 57 | runs-on: ubuntu-latest
|
46 | 58 | steps:
|
47 |
| - - uses: actions/checkout@v2 |
48 |
| - - uses: actions/setup-node@v2 |
| 59 | + - uses: actions/checkout@v3 |
| 60 | + |
| 61 | + with: |
| 62 | + version: 7 |
| 63 | + - uses: actions/setup-node@v3 |
49 | 64 | with:
|
50 |
| - node-version: '14' |
51 |
| - cache: 'yarn' |
52 |
| - - run: yarn |
53 |
| - - run: yarn test |
| 65 | + node-version: '16' |
| 66 | + cache: 'pnpm' |
| 67 | + - run: pnpm install --frozen-lockfile |
| 68 | + - run: pnpm test |
0 commit comments