File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,21 @@ jobs: # a collection of steps
110110          path : book/dist 
111111          destination : book 
112112
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 
113124workflows :
114125  version : 2 
115126  build_and_docs :
116127    jobs :
117128      - build 
118129      - docs 
130+       - release 
Original file line number Diff line number Diff line change 11{
22  "name" : " dsa.js"  ,
3-   "version" : " 1.3.10 "  ,
3+   "version" : " 0.0.0-development "  ,
44  "description" : " Data Structures & Algorithms in JS"  ,
55  "author" : " Adrian Mejia <hi+dsajs@adrianmejia.com> (https://adrianmejia.com)"  ,
66  "homepage" : " https://github.com/amejiarosario/dsa.js"  ,
1717    "watch" : " jest src/ --watch --coverage"  ,
1818    "coverage" : " jest src/ --coverage && open coverage/lcov-report/index.html"  ,
1919    "lint" : " npx eslint --fix --format codeframe src/"  ,
20-     "ci" : " npx eslint src/ && jest src/ --coverage" 
20+     "ci" : " npx eslint src/ && jest src/ --coverage"  ,
21+     "semantic-release" : " semantic-release" 
2122  },
2223  "keywords" : [
2324    " algorithms"  ,
4445    "jest" : " 23.6.0"  ,
4546    "js-yaml" : " >=3.13.1"  ,
4647    "mem" : " >=4.0.0"  ,
47-     "textlint-plugin-asciidoctor" : " 1.0.2" 
48+     "textlint-plugin-asciidoctor" : " 1.0.2"  ,
49+     "semantic-release" : " ^17.0.4" 
4850  },
4951  "engines" : {
5052    "node" : " >=10.0.0" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments