Skip to content

Feature/auto changelog #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 30, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🔧 chore (ci): improve ci
  • Loading branch information
amejiarosario committed Mar 30, 2020
commit fd8aa2ec665b8ca5ba976a6691f452c7d36084be
16 changes: 4 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ jobs: # a collection of steps
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
path: test-results.xml

- run:
name: release
command: npm run semantic-release || true

docs:
docker:
- image: circleci/ruby:2.5.3-stretch-node
Expand Down Expand Up @@ -110,21 +114,9 @@ jobs: # a collection of steps
path: book/dist
destination: book

release:
docker:
- image: 'circleci/node:latest'
steps:
- checkout
- run:
name: install
command: npm install
- run:
name: release
command: npm run semantic-release || true
workflows:
version: 2
build_and_docs:
jobs:
- build
- docs
- release
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm test"
"pre-push": "npm run ci"
}
}
}