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
46
46
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
47
47
path: test-results.xml
48
48
49
+ - run:
50
+ name: release
51
+ command: npm run semantic-release || true
52
+
49
53
docs:
50
54
docker:
51
55
- image: circleci/ruby:2.5.3-stretch-node
@@ -110,21 +114,9 @@ jobs: # a collection of steps
110
114
path: book/dist
111
115
destination: book
112
116
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
124
117
workflows:
125
118
version: 2
126
119
build_and_docs:
127
120
jobs:
128
121
- build
129
122
- docs
130
- - release
Original file line number Diff line number Diff line change 99
99
},
100
100
"husky": {
101
101
"hooks": {
102
- "pre-commit": "npm run lint",
103
- "pre-push": "npm test"
102
+ "pre-push": "npm run ci"
104
103
}
105
104
}
106
105
}
You can’t perform that action at this time.
0 commit comments