aws-elasticsearch-client
Version:
Tiny wrapper for elasticsearch and http-aws-es libraries with reasonable defaults that makes work with AWS Elasticsearch Service easier
56 lines (48 loc) • 1.03 kB
YAML
version: 2.0
references:
workspace_root:
./
node_container:
docker:
- image: circleci/node:8
attach_workspace:
attach_workspace:
at:
run_on_master:
filters:
branches:
only: master
jobs:
dependencies:
<<:
steps:
- checkout
- run: npm install
- persist_to_workspace:
root:
paths:
- node_modules
test:
<<:
steps:
- checkout
-
- run: npm run test
publish:
<<:
steps:
- checkout
-
- run: sudo npm install -g publish
- run: publish
workflows:
version: 2
default:
jobs:
- dependencies
- test:
requires: [ 'dependencies' ]
- publish:
context: ci-publish
requires: [ 'dependencies', 'test' ]
<<: