File tree Expand file tree Collapse file tree 1 file changed +57
-5
lines changed Expand file tree Collapse file tree 1 file changed +57
-5
lines changed Original file line number Diff line number Diff line change 11name : Checks 
22
3- on : [push] 
3+ on : [push, pull_request ] 
44
55jobs :
6-   build-test-check  :
6+   build :
77    name : Install deps, build required package, typecheck, lint and test 
88    runs-on : ubuntu-latest 
99    steps :
@@ -22,12 +22,64 @@ jobs:
2222
2323      - name : Build 
2424        run : pnpm build 
25+   test :
26+     name : Test 
27+     runs-on : ubuntu-latest 
28+     steps :
29+       - uses : actions/checkout@v4 
30+       - uses : pnpm/action-setup@v3 
31+         with :
32+           version : 9 
33+ 
34+       - uses : actions/setup-node@v4 
35+         with :
36+           node-version-file : ' package.json' 
37+           cache : ' pnpm' 
38+ 
39+       - name : Install dependencies 
40+         run : pnpm install --frozen-lockfile  
41+ 
42+       - name : Test 
43+         run : pnpm test 
44+ 
45+   typecheck :
46+     name : Type check 
47+     runs-on : ubuntu-latest 
48+     needs : [build] 
49+     steps :
50+       - uses : actions/checkout@v4 
51+       - uses : pnpm/action-setup@v3 
52+         with :
53+           version : 9 
54+ 
55+       - uses : actions/setup-node@v4 
56+         with :
57+           node-version-file : ' package.json' 
58+           cache : ' pnpm' 
59+ 
60+       - name : Install dependencies 
61+         run : pnpm install --frozen-lockfile 
2562
2663      - name : Type check 
2764        run : pnpm check 
2865
66+   lint :
67+     name : Linting & Formatting 
68+     runs-on : ubuntu-latest 
69+     needs : [build] 
70+     steps :
71+       - uses : actions/checkout@v4 
72+       - uses : pnpm/action-setup@v3 
73+         with :
74+           version : 9 
75+ 
76+       - uses : actions/setup-node@v4 
77+         with :
78+           node-version-file : ' package.json' 
79+           cache : ' pnpm' 
80+ 
81+       - name : Install dependencies 
82+         run : pnpm install --frozen-lockfile 
83+ 
2984      - name : Linting & Formatting 
3085        run : pnpm lint 
31- 
32-       - name : Test 
33-         run : pnpm test 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments