Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
feat: integrate circleci (#50)
Browse files Browse the repository at this point in the history
* feat: circleci

* refactor: fix config.yml

* refactor: changes
  • Loading branch information
ImmanuelSegol authored and michael1011 committed Feb 16, 2019
1 parent 51a9d4c commit 807a692
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:lts
steps:
- checkout:
- run:
name: update
command: 'sudo apt-get update -y && sudo apt-get -y install rsync'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: compile
command: npm run compile
- run:
name: lint
command: npm run lint
- run:
name: test
command: npm run test

0 comments on commit 807a692

Please sign in to comment.