This repository has been archived on 2025-09-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
cc-markdown/.circleci/config.yml
2020-07-18 01:08:23 +02:00

38 lines
709 B
YAML

version: 2.1
commands:
run-tests:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Installing Dependencies
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Lint Source
command: npm run test
jobs:
node-latest:
docker:
- image: circleci/node:latest
steps:
- run-tests
node-lts:
docker:
- image: circleci/node:lts
steps:
- run-tests
workflows:
node-multi-build:
jobs:
- node-latest
- node-lts
version: 2