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

Commit

Permalink
CircleCI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiller42 committed Jul 23, 2017
1 parent 438ae30 commit 67a24b4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:latest
working_directory: ~/html-webpack-externals-plugin

steps:
- checkout
- run: sudo npm install -g npm@latest
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: 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

0 comments on commit 67a24b4

Please sign in to comment.