Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Commit

Permalink
Naming steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiller42 committed Jul 23, 2017
1 parent 67a24b4 commit 6b159ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@ jobs:

steps:
- checkout
- run: sudo npm install -g npm@latest
- run:
name: update-npm
command: sudo npm install -g npm@latest
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: npm install
- run:
name: npm-install
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
- run: npm test
- deploy: if [ "${CIRCLE_TAG}" == v* ]; then npm publish; fi
- run:
name: npm-test
command: npm test
- deploy:
name: npm-publish
command: if [ "${CIRCLE_TAG}" == v* ]; then npm publish; fi
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Dependencies
node_modules

˚
# Logs
*.log
.node_repl_history
Expand Down

0 comments on commit 6b159ec

Please sign in to comment.