UNPKG

@boris-turner/amphora-search

Version:

Making it easier to use Elastic Search with Amphora

38 lines (36 loc) 902 B
version: 2 jobs: test: docker: - image: node:8.9.0 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v2-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v2-dependencies- - run: npm install - run: name: Run tests command: npm test - run: name: Send to Coveralls command: cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - save_cache: paths: - node_modules key: v2-dependencies-{{ checksum "package.json" }} - persist_to_workspace: root: ~/repo paths: - . workflows: version: 2 test: jobs: - test: filters: tags: only: /^v[0-9]+\.[0-9]+\.[0-9]+/