Skip to content

Commit

Permalink
Latest upgrades (#17) (mocha, sinon, fs-extra, prettierjson and circl…
Browse files Browse the repository at this point in the history
…eci to v2)
  • Loading branch information
jjgonecrypto authored Jun 14, 2018
1 parent 06e4a2d commit a2aeaf2
Show file tree
Hide file tree
Showing 4 changed files with 568 additions and 650 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 # use CircleCI 2.0
jobs: # a collection of steps
build: # runs not using Workflows must have a `build` job as entry point
working_directory: ~/hounds # directory where steps will run
docker: # run the steps with Docker
- image: circleci/node:8.11.3-stretch-browsers # ...with this image as the primary container; this is where all `steps` will run
steps: # a collection of executable commands
- checkout # special step to check out source code to working directory
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- restore_cache: # special step to restore the dependency cache
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: install-npm
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run: # run tests
name: test
command: npm test
Loading

0 comments on commit a2aeaf2

Please sign in to comment.