Skip to content

Commit

Permalink
Merge pull request #151 from emberfeather/feature/circleci
Browse files Browse the repository at this point in the history
Circle CI 2.0
  • Loading branch information
Zoramite authored May 15, 2018
2 parents 9b57cbf + 0b6ea0e commit 9f4e712
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2

jobs:
test:
working_directory: ~/less
docker:
- image: circleci/node:latest
steps:
- checkout

- restore_cache:
key: cache-{{ .Branch }}-{{ checksum "package.json" }}

- run:
name: Dep Install
command: npm install

- save_cache:
key: cache-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- "node_modules"

- run:
name: Tests
command: npm test

workflows:
version: 2
build:
jobs:
- test

0 comments on commit 9f4e712

Please sign in to comment.