Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fd8aa2e

Browse files
🔧 chore (ci): improve ci
1 parent 03a420d commit fd8aa2e

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

‎.circleci/config.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff 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
124117
workflows:
125118
version: 2
126119
build_and_docs:
127120
jobs:
128121
- build
129122
- docs
130-
- release

‎package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@
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
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /