Browse Source

fix(config.yml): ERROR IN CONFIG FILE

schema violations found
test
sipe-daniel 6 years ago
parent
commit
274c73a19a
  1. 61
      .circleci/config.yml

61
.circleci/config.yml

@ -4,7 +4,12 @@ workflows:
build_and_test:
jobs:
- build
- lint:
requires:
- build
- test:
requires:
- build
jobs:
build:
docker:
@ -16,38 +21,36 @@ jobs:
command: yarn global add node-gyp && yarn install
- restore_cache:
name: Restore Yarn Package Cache
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install --immutable
- save_cache:
name: Save Yarn Package Cache
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
lint:
docker:
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
name: "Lint Code"
command: 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:
name: "Unit Test"
command: yarn test:ci
lint:
docker:
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run:
name: "Lint Code"
command: 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:
name: "Unit Test"
command: yarn test:ci
Loading…
Cancel
Save