Skip to content

Commit

Permalink
Merge pull request #33 from dhershman1/development
Browse files Browse the repository at this point in the history
created ci config
  • Loading branch information
dhershman1 authored Mar 27, 2020
2 parents 3456d40 + 9ff7fa1 commit 57b774b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/node:12

working_directory: ~/vue-debounce

steps:
- checkout

- run:
name: install-deps
command: npm ci

# lint
- run:
name: lint
command: npm run lint
# run tests and report coverage
- run:
name: test
command: npm t
workflows:
version: 2
main:
jobs:
- build:
filters:
branches:
only:
- master
- development
ignore: gh-pages
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"prepack": "npm run lint && npm run build",
"build": "rollup -c",
"watch": "rollup -c -w",
"lint": "standard --fix src/*.js"
"lint": "standard src/*.js",
"linit:fix": "standard --fix src/*.js"
},
"standard": {
"ignore": [
Expand Down

0 comments on commit 57b774b

Please sign in to comment.