hugo-lunr-indexer
Version:
Generate Lunr indices for Hugo static sites by parsing front matter.
28 lines (19 loc) • 467 B
YAML
version: 2
jobs:
build:
docker:
- image: circleci/node:10.8
working_directory: ~/hugo-lunr-indexer
environment:
- NODE_ENV: development
steps:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "yarn.lock" }}
- run: yarn --frozen-lockfile
- save_cache:
paths:
- node_modules
key: dependencies-{{ checksum "yarn.lock" }}
- run: yarn test