-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest upgrades (#17) (mocha, sinon, fs-extra, prettierjson and circl…
…eci to v2)
- Loading branch information
1 parent
06e4a2d
commit a2aeaf2
Showing
4 changed files
with
568 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.