Skip to content
Permalink
Browse files

Add a CircleCI configuration file to enable CI/CD

  • Loading branch information
dhruvkb committed Jun 3, 2019
1 parent b827057 commit 9c8a92acb4d7e1b110758c18dfc3b32b7023e4bc
Showing with 29 additions and 0 deletions.
  1. +29 −0 .circleci/config.yml
@@ -0,0 +1,29 @@
version: 2.1 # This is the lowest version that supports Orbs

orbs:
node: circleci/node@1.0.1 # Use node elements in existing workflows and jobs

jobs:
lint:
docker:
- image: node:8.12.0-alpine
steps:
- checkout
- run: npm install
- run: npm run lint

unit:
docker:
- image: node:8.12.0-alpine
steps:
- checkout
- run: npm install
- run: npm run test:unit

workflows:
version: 2

test:
jobs:
- lint
- unit

0 comments on commit 9c8a92a

Please sign in to comment.
You can’t perform that action at this time.