File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI 
2+ 
3+ on :
4+   push :
5+     branches : [main] 
6+   pull_request :
7+ 
8+ jobs :
9+   build :
10+     runs-on : ubuntu-latest 
11+     steps :
12+       - uses : actions/checkout@v3 
13+       - uses : actions/setup-node@v3 
14+         with :
15+           node-version : 18 
16+       - run : npm ci 
17+       - run : npm run lint 
18+       - run : npm run build --if-present 
19+       - run : npm run typecheck --if-present 
20+ 
21+   vercel-preview :
22+     if : secrets.VERCEL_TOKEN && secrets.VERCEL_ORG_ID && secrets.VERCEL_PROJECT_ID 
23+     needs : build 
24+     runs-on : ubuntu-latest 
25+     steps :
26+       - uses : actions/checkout@v3 
27+       - uses : amondnet/vercel-action@v25 
28+         with :
29+           vercel-token : ${{ secrets.VERCEL_TOKEN }} 
30+           vercel-org-id : ${{ secrets.VERCEL_ORG_ID }} 
31+           vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }} 
32+           vercel-args : ' --prod=false' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments