Skip to content

Commit

Permalink
Migrate to CircleCI 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
serima committed Aug 27, 2017
1 parent 668c1f3 commit b0d7662
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2
jobs:
build:
working_directory: ~/danger-js
docker:
- image: node:7
steps:
- checkout
- restore_cache:
key: yarn-{{ .Branch }}-{{ checksum "package.json" }}
- run:
name: System information
command: |
echo "Node $(node -v)"
echo "Yarn v$(yarn --version)"
- run: yarn
- save_cache:
key: yarn-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- ~/danger-js/node_modules
- ~/.cache/yarn/
- run: yarn add danger
- run: yarn danger -- run --dangerfile dangerfile.circle.js --text-only

0 comments on commit b0d7662

Please sign in to comment.