counsel
Version:
the end of boilerplate. automatically bake structure, opinions, and business rules into projects
28 lines (27 loc) • 689 B
YAML
version: 2
jobs:
build:
docker:
- image: circleci/node:11
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run: NODE_ENV=development yarn
- run: cd website && NODE_ENV=development yarn
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: yarn lint
- run: yarn build
- run: yarn test
- run: npx semantic-release
- run:
command: |
cd website
yarn build
yarn publish:docs