File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Cache API validation report 
2+ 
3+ on :
4+   pull_request 
5+   #  push:
6+   #    branches:
7+   #      - main
8+   #      - '[0-9]+.[0-9]+'
9+ 
10+ jobs :
11+   generate-report :
12+     name : generate-report 
13+     runs-on : ubuntu-latest 
14+ 
15+     steps :
16+       - uses : actions/checkout@v4 
17+         with :
18+           path : ./elasticsearch-specification 
19+ 
20+       - uses : actions/checkout@v4 
21+         with :
22+           repository : elastic/clients-flight-recorder 
23+           path : ./clients-flight-recorder 
24+           token : ${{ secrets.PAT }} 
25+           ref : main 
26+ 
27+       - name : Use Node.js 22 
28+         uses : actions/setup-node@v4 
29+         with :
30+           node-version : 22 
31+ 
32+       - name : Install deps 1/2 
33+         working-directory : ./clients-flight-recorder 
34+         run : | 
35+           npm install --prefix scripts/types-validator 
36+ 
37+        - name : Install deps 2/2 
38+         working-directory : ./elasticsearch-specification 
39+         run : | 
40+           make setup 
41+ 
42+        - name : Generate specification and check generated types 
43+         working-directory : ./elasticsearch-specification 
44+         run : | 
45+           make contrib 
46+ 
47+        - name : Generate report 
48+         working-directory : ./clients-flight-recorder 
49+         env :
50+           BRANCH : ${{ github.ref_name }} 
51+         run : node scripts/type-validator/index.js --generate-report --ci --branch $BRANCH 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments