Skip to content

Commit

Permalink
fix(config): dependabot and circle config (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebeschmidt authored Apr 2, 2020
1 parent 9c2846b commit 4b579e3
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 18 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2.1
jobs:
test:
docker:
- image: circleci/node:12
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: npm install
- run: npm run build
- run: npm run test:cover
- run: bash <(curl -s https://codecov.io/bash)
- run:
name: Build Success
when: on_success
command: ./node_modules/.bin/codecov
release:
docker:
- image: circleci/node:12
steps:
- checkout
- run: npm install
- run: npm run build
- run: npm run semantic-release
workflows:
version: 2
build_and_test:
jobs:
- test
- release:
requires:
- test
13 changes: 13 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://dependabot.com/docs/config-file/#dependabot-config-files
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "daily"
automerged_updates:
- match:
dependency_type: "development"
update_type: "all"
- match:
dependency_type: "production"
update_type: "in_range"
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@
"tap-spec": "^5.0.0",
"trevor": "^2.3.0"
},
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down

0 comments on commit 4b579e3

Please sign in to comment.