@ -1,6 +1,6 @@
version: 2.1
jobs:
build:
install: &shared-config
docker:
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run
auth:
@ -9,3 +9,16 @@ jobs:
steps:
- checkout # check out the code in the project directory
- run: yarn global add node-gyp && yarn install
- restore_cache:
keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint
- run: yarn test:ci
lint:
<<: *shared-config
- run: yarn lint && yarn format:check
test: