File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ jobs: # a collection of steps
4646      - store_test_results : #  for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
4747          path : test-results.xml 
4848
49+       - run :
50+           name : release 
51+           command : npm run semantic-release || true 
52+ 
4953  docs :
5054    docker :
5155      - image : circleci/ruby:2.5.3-stretch-node 
@@ -110,21 +114,9 @@ jobs: # a collection of steps
110114          path : book/dist 
111115          destination : book 
112116
113-   release :
114-     docker :
115-       - image : ' circleci/node:latest' 
116-     steps :
117-       - checkout 
118-       - run :
119-           name : install 
120-           command : npm install 
121-       - run :
122-           name : release 
123-           command : npm run semantic-release || true 
124117workflows :
125118  version : 2 
126119  build_and_docs :
127120    jobs :
128121      - build 
129122      - docs 
130-       - release 
Original file line number Diff line number Diff line change 9999  },
100100  "husky" : {
101101    "hooks" : {
102-       "pre-commit" : " npm run lint" 
103-       "pre-push" : " npm test" 
102+       "pre-push" : " npm run ci" 
104103    }
105104  }
106105}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments