Created
July 10, 2018 13:22
-
-
Save mousetree/b209deab85e5be2b7a429b88bfe52376 to your computer and use it in GitHub Desktop.
CircleCI Config
This file contains hidden or 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
version: 2 | |
jobs: | |
test: | |
docker: | |
- image: circleci/node:10 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- restore_cache: | |
keys: | |
- v1-dependencies-{{ checksum "package.json" }} | |
- v1-dependencies- | |
- run: | |
name: Install dependencies | |
command: npm install | |
- save_cache: | |
paths: | |
- node_modules | |
key: v1-dependencies-{{ checksum "package.json" }} | |
- run: | |
name: Run tests | |
command: npm test | |
workflows: | |
version: 2 | |
ultimate_pipeline: | |
jobs: | |
- test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment