Browse Source

yml: add yarn command

pull/2/head
Neel Coffin 6 years ago
parent
commit
db95ef5fd1
  1. 15
      .circleci/config.yml

15
.circleci/config.yml

@ -1,6 +1,6 @@
version: 2.1 version: 2.1
jobs: jobs:
build:
cache: &shared-config
docker: docker:
- image: cimg/node:14.10.1 - image: cimg/node:14.10.1
steps: steps:
@ -14,4 +14,15 @@ jobs:
name: sa ve yarn package cache name: sa ve yarn package cache
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths: paths:
- ~/.cache/yarn
- ~/.cache/yarn
lint:
<<: *shared-config
steps:
- checkout
- run: yarn lint && yarn format:check
unit-test:
<<: *shared-config
steps:
- checkout
- run: yarn test:ci
Loading…
Cancel
Save