Browse Source

Fix: syntaxe v3

main
verzelea 6 years ago
parent
commit
7ebc8db9ef
  1. 21
      .circleci/config.yml

21
.circleci/config.yml

@ -6,13 +6,16 @@ workflows:
- lint: - lint:
requires: requires:
- build - build
- test:
requires:
- build
- e2e: - e2e:
requires: requires:
- build - build
jobs: jobs:
build: build:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -22,19 +25,22 @@ jobs:
key: yarn-packages-v2{{ checksum "yarn.lock" }} key: yarn-packages-v2{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
lint:
test:
docker: docker:
- image: cimg/node:14.10.1
- image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-packages-v2{{ checksum "yarn.lock" }} key: yarn-packages-v2{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check
- run : yarn test:ci - run : yarn test:ci
- save_cache:
lint:
docker:
- image: cimg/node:12.18
steps:
- checkout
- restore_cache:
key: yarn-packages-v2{{ checksum "yarn.lock" }} key: yarn-packages-v2{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run: yarn lint && yarn format:check
e2e: e2e:
docker: docker:
- image: cimg/node:12.18 - image: cimg/node:12.18
@ -49,7 +55,6 @@ jobs:
POSTGRES_USER: e2e POSTGRES_USER: e2e
POSTGRES_DB: psdb POSTGRES_DB: psdb
POSTGRES_PASSWORD: test POSTGRES_PASSWORD: test
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:

Loading…
Cancel
Save