Skip to content

Commit

Permalink
integrate with CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed Abdel Ra'ouf committed Jan 9, 2020
1 parent 91cef9f commit e3e8292
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:12.14.0
working_directory: ~/code
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "yarn.lock" }}
- v1-dependencies-
- run:
name: Install Packages
command: yarn install
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: Lint
command: yarn run lint
- run:
name: Flow
command: yarn run flow
- run:
name: Tests
command: yarn test
- store_artifacts:
path: test-results
- store_test_results:
path: test-results
workflows:
version: 2
workflow:
jobs:
- build

0 comments on commit e3e8292

Please sign in to comment.