|
6 | 6 | runs-on: ubuntu-latest
|
7 | 7 | steps:
|
8 | 8 | - name: Checkout
|
9 |
| - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 |
10 |
| - - name: Set Node.js 20.x |
11 |
| - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 |
12 |
| - with: |
13 |
| - node-version: 20.x |
14 |
| - cache: yarn |
15 |
| - - name: Install Dependencies |
16 |
| - run: yarn install --frozen-lockfile |
| 9 | + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |
| 10 | + - name: Setup |
| 11 | + uses: ./.github/actions/setup |
17 | 12 | - name: Lint
|
18 |
| - run: yarn lint |
| 13 | + run: pnpm lint |
19 | 14 | - name: TypeCheck
|
20 |
| - run: yarn typecheck |
| 15 | + run: pnpm typecheck |
21 | 16 |
|
22 | 17 | unit-test:
|
23 | 18 | name: Unit Tests
|
24 | 19 | runs-on: ubuntu-latest
|
25 | 20 | needs: check
|
26 | 21 | steps:
|
27 |
| - - name: Checkout |
28 |
| - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 |
29 |
| - - name: Set Node.js 20.x |
30 |
| - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 |
31 |
| - with: |
32 |
| - node-version: 20.x |
33 |
| - cache: yarn |
34 |
| - - name: Install Dependencies |
35 |
| - run: yarn install --frozen-lockfile |
36 |
| - - name: Test |
37 |
| - run: yarn test |
38 |
| - - name: Build |
39 |
| - run: yarn build |
| 22 | + - name: Checkout |
| 23 | + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |
| 24 | + - name: Setup |
| 25 | + uses: ./.github/actions/setup |
| 26 | + - name: Test |
| 27 | + run: pnpm test |
| 28 | + - name: Build |
| 29 | + run: pnpm build |
40 | 30 |
|
41 | 31 | build:
|
42 | 32 | name: Build
|
43 | 33 | runs-on: ubuntu-latest
|
44 | 34 | needs: check
|
45 | 35 | steps:
|
46 | 36 | - name: Checkout
|
47 |
| - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 |
48 |
| - - name: Set Node.js 20.x |
49 |
| - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 |
50 |
| - with: |
51 |
| - node-version: 20.x |
52 |
| - cache: yarn |
53 |
| - - name: Install Dependencies |
54 |
| - run: yarn install --frozen-lockfile |
| 37 | + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |
| 38 | + - name: Setup |
| 39 | + uses: ./.github/actions/setup |
55 | 40 | - name: Build
|
56 |
| - run: yarn build |
| 41 | + run: pnpm build |
57 | 42 | - name: Upload Artifact
|
58 | 43 | uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
59 | 44 | with:
|
|
72 | 57 | os: [ubuntu-latest, windows-latest, macos-latest]
|
73 | 58 | steps:
|
74 | 59 | - name: Checkout
|
75 |
| - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 |
76 |
| - - name: Set Node.js 20.x |
77 |
| - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 |
78 |
| - with: |
79 |
| - node-version: 20.x |
80 |
| - cache: yarn |
81 |
| - - name: Install Dependencies |
82 |
| - run: yarn install --frozen-lockfile |
| 60 | + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |
| 61 | + - name: Setup |
| 62 | + uses: ./.github/actions/setup |
83 | 63 | - name: Download Artifact
|
84 | 64 | uses: actions/download-artifact@9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395 # v4.1.6
|
85 | 65 | - name: Run Integration Tests
|
|
0 commit comments