Skip to content

Commit

Permalink
Merge pull request #352 from serima/feature/circleci-20
Browse files Browse the repository at this point in the history
Migrate to CircleCI 2.0
  • Loading branch information
orta committed Aug 27, 2017
2 parents 668c1f3 + d63d67f commit 7a3c584
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 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
16 changes: 0 additions & 16 deletions circle.yml

This file was deleted.

0 comments on commit 7a3c584

Please sign in to comment.