global-express
Version:
A Command line interface for instantly building an express
33 lines (29 loc) • 649 B
YAML
version: 2
defaults:
working_directory: ~/global-express
docker:
- image: circleci/node:6
jobs:
test:
<<:
steps:
- checkout
- restore_cache:
keys:
- v1-{{ .Branch }}-{{ checksum "package.json" }}
- v1-{{ .Branch }}-
- run:
name: Install Dependencies
command: npm install
- save_cache:
key: v1-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: Unit Testing
command: npm run test
workflows:
version: 2
global-express:
jobs:
- test