Browse Source

4. Install step

pull/1/merge
FONTAINE Pierre 6 years ago
parent
commit
eb7572e0b5
  1. 15
      .circleci/config.yml

15
.circleci/config.yml

@ -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
steps:
- run: yarn lint && yarn format:check
test:
<<: *shared-config
steps:
- run: yarn test:ci
Loading…
Cancel
Save