Skip to content

Commit

Permalink
Merge pull request #74 from tylerkrupicka/auto
Browse files Browse the repository at this point in the history
Configure Auto
  • Loading branch information
skodamarthi authored Oct 19, 2020
2 parents a29bbe6 + 083ec80 commit fb7e818
Show file tree
Hide file tree
Showing 3 changed files with 1,024 additions and 53 deletions.
28 changes: 20 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,23 @@ jobs:
- checkout

- run: npm install

# run build
- run : npm run build
- run: npm run build

# run tests and generate coverage
- run:
name: "Run tests and generate coverage report"
command: npm run test:coverage

# run tests and generate coverage
- run :
name : "Run tests and generate coverage report"
command : npm run test:coverage

- store_artifacts:
path: coverage
release:
docker:
- image: circleci/node:10.15.3-browsers
steps:
- checkout
- run: npm run release

notify:
webhooks:
Expand All @@ -38,4 +44,10 @@ workflows:
version: 2
build:
jobs:
- build
- build
- release:
requires:
- build
filters:
branches:
only: master
20 changes: 19 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"prettier": "prettier '{src,tests}/**/*.js' --write --single-quote --tab-width 4 --no-bracket-spacing --print-width 120",
"clean": "rm -rf node_modules",
"rebuild": "npm run clean && npm install && npm run build",
"prepublishOnly": "webpack"
"prepublishOnly": "webpack",
"release": "auto shipit"
},
"husky": {
"hooks": {
Expand Down Expand Up @@ -52,6 +53,9 @@
"uuid": "^3.3.3"
},
"devDependencies": {
"@auto-it/all-contributors": "9.54.2",
"@auto-it/released": "9.54.2",
"auto": "9.54.2",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"all-contributors-cli": "^6.17.4",
Expand Down Expand Up @@ -82,5 +86,19 @@
},
"directories": {
"test": "tests"
},
"auto": {
"plugins": [
"npm",
"released",
"all-contributors"
],
"labels": [
{
"name": "dependency-update",
"changelogTitle": "🔩 Dependency Updates",
"releaseType": "none"
}
]
}
}
Loading

0 comments on commit fb7e818

Please sign in to comment.