Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Oct 25, 2020
1 parent 7f75bb4 commit 3818718
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ workflows:
build-test:
jobs:
- prep-deps
- test-build:
- prep-build:
requires:
- prep-deps
- test-lint:
requires:
- prep-deps
- test-unit:
requires:
- prep-deps
- prep-build
- test-format:
requires:
- prep-deps
- prep-build
- all-tests-pass:
requires:
- test-build
- test-lint
- test-unit
- test-format
Expand All @@ -43,27 +42,31 @@ jobs:
- node_modules
- build-artifacts

test-format:
prep-build:
docker:
- image: circleci/node:10
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Format
command: yarn format
name: build
command: yarn build
- persist_to_workspace:
root: .
paths:
- dist

test-build:
test-format:
docker:
- image: circleci/node:10
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Build project
command: yarn build
name: Format
command: yarn format

test-lint:
docker:
Expand Down

0 comments on commit 3818718

Please sign in to comment.