File tree Expand file tree Collapse file tree 5 files changed +21
-27
lines changed Expand file tree Collapse file tree 5 files changed +21
-27
lines changed Original file line number Diff line number Diff line change 3434          node-version : 15 
3535      - name : Install production and development dependencies 
3636        run : | 
37-           npm install 
37+           npm install || npm install || npm install  
3838       - name : Run benchmarks 
3939        run : | 
4040          npm run benchmark 
Original file line number Diff line number Diff line change 3434          node-version : 15 
3535      - name : Install production and development dependencies 
3636        run : | 
37-           npm install 
37+           npm install || npm install || npm install  
3838       - name : Run examples 
3939        run : | 
4040          npm run examples 
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ name: build
2121
2222#  Workflow triggers:
2323on :
24+   schedule :
25+     #  * is a special character in YAML so you have to quote this string
26+     - cron :  ' 30 1 * * 6' 
2427  workflow_dispatch :
2528
2629#  Workflow jobs:
@@ -36,18 +39,12 @@ jobs:
3639          node-version : 15 
3740      - name : Install production and development dependencies 
3841        id : install 
39-         uses : nick-invision/retry@v2 
40-         with :
41-           timeout_minutes : 2 
42-           max_attempts : 3 
43-           command : npm install 
42+         run : | 
43+           npm install || npm install || npm install 
4444       - name : Run tests 
4545        id : tests 
46-         uses : nick-invision/retry@v2 
47-         with :
48-           timeout_minutes : 3 
49-           max_attempts : 2 
50-           command : npm test 
46+         run : | 
47+           npm test || npm test || npm test 
5148       - uses : act10ns/slack@v1 
5249        with :
5350          status : ${{ job.status }} 
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ name: coverage
2121
2222#  Workflow triggers:
2323on :
24+   workflow_run :
25+     workflows : ["build"] 
26+     types : [completed] 
2427  workflow_dispatch :
2528
2629#  Workflow jobs:
@@ -33,17 +36,11 @@ jobs:
3336        with :
3437          node-version : 15 
3538      - name : Install production and development dependencies 
36-         uses : nick-invision/retry@v2 
37-         with :
38-           timeout_minutes : 2 
39-           max_attempts : 3 
40-           command : npm install 
39+         run : | 
40+           npm install || npm install || npm install 
4141       - name : Calculate test coverage 
42-         uses : nick-invision/retry@v2 
43-         with :
44-           timeout_minutes : 3 
45-           max_attempts : 2 
46-           command : npm run test-cov 
42+         run : | 
43+           npm run test-cov || npm run test-cov || npm run test-cov 
4744       - name : Upload coverage to Codecov 
4845        id : upload 
4946        uses : codecov/codecov-action@v1 
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ name: Test Installing Dependencies
2121
2222#  Workflow triggers:
2323on :
24+   schedule :
25+     #  * is a special character in YAML so you have to quote this string
26+     - cron :  ' 30 1 * * 6' 
2427  workflow_run :
2528    workflows : ["Publish Package"] 
2629    types : [completed] 
3841        with :
3942          node-version : 15 
4043      - name : Install production dependencies via npm 
41-         uses : nick-invision/retry@v2 
42-         with :
43-           timeout_minutes : 2 
44-           max_attempts : 3 
45-           command : npm install --only=prod 
44+         run : | 
45+           npm install --only=prod || npm install --only=prod || npm install --only=prod 
4646       - uses : act10ns/slack@v1 
4747        with :
4848          status : ${{ job.status }} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments