File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ #  This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+ #  For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+ 
4+ name : Tests 
5+ 
6+ on :
7+   push :
8+   pull_request :
9+     branches : [ master, develop ] 
10+ 
11+ jobs :
12+   build :
13+ 
14+     runs-on : ubuntu-latest 
15+ 
16+     strategy :
17+       matrix :
18+         node-version : [10.x, 12.x] 
19+ 
20+     steps :
21+     - uses : actions/setup-ruby@v1 
22+       with :
23+         ruby-version : ' 2.6' 
24+     - uses : actions/checkout@v2 
25+     - name : Use Node.js ${{ matrix.node-version }} 
26+       uses : actions/setup-node@v1 
27+       with :
28+         node-version : ${{ matrix.node-version }} 
29+         
30+     - run : gem install bundler  
31+     - run : bundle install 
32+     - run : npm ci 
33+     - run : npm run build --if-present 
34+     - run : npm test 
35+       env :
36+         CI : true 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments