@nearform/doctor
Version:
Programmable interface to clinic doctor
61 lines (48 loc) • 1.02 kB
YAML
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
defaults:
working_directory: ~/workspace
docker:
- image: circleci/node:latest
lint:
name: Lint
command: npm run ci-lint
test:
name: Test
command: npm run ci-test
coverage:
name: Coverage
command: npm run ci-cov
build_and_test:
- checkout
- run:
name: Version check
command: node -v
- run:
name: Update dependencies
command: |
npm config set package-lock false
npm update --save-dev # https://github.com/npm/npm/issues/16901
npm update
- run:
- run:
- run:
jobs:
node-v8:
<<:
docker:
- image: node:8
steps:
node-v10:
<<:
docker:
- image: node:10
steps:
workflows:
version: 2
node-multi-build:
jobs:
- node-v8
- node-v10