Browse Source

fix(config.yml): ERROR IN CONFIG FILE

schema violations found
branchofstep-4
sipe-daniel 6 years ago
parent
commit
51a54bc914
  1. 29
      .circleci/config.yml

29
.circleci/config.yml

@ -4,28 +4,26 @@ workflows:
jobs:
- build
- lint:
requires
requires:
- build
- test:
requires:
- build
jobs:
build:
docker:
- image: cimg/node:12.18 # the primary container, where your job's commands are run
- image: cimg/node:12.18
steps:
- checkout
- run:
name: Install dependencies
command: yarn global add node-gyp && yarn install
- restore_cache:
name: Restore Yarn Package Cache
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install --immutable
- run: yarn global add node-gyp && yarn install
- save_cache:
name: Save Yarn Package Cache
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- ./node_modules
lint:
docker:
- image: cimg/node:12.18
@ -34,6 +32,13 @@ jobs:
- restore_cache:
name: Restore Yarn Package Cache
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
name: "Lint Code"
command: yarn lint && yarn format:check
- run : yarn lint && yarn format:check
test:
docker:
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run : yarn test:ci
Loading…
Cancel
Save