Skip to content

Commit

Permalink
ci: Add build to CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh committed Feb 12, 2020
1 parent 95d3962 commit 44d8cd2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ workflows:
lint:
jobs:
- prep-deps
- test-build:
requires:
- prep-deps
- test-lint:
requires:
- prep-deps
Expand All @@ -12,6 +15,7 @@ workflows:
- prep-deps
- all-tests-pass:
requires:
- test-build
- test-lint
- test-unit

Expand All @@ -35,6 +39,17 @@ jobs:
- node_modules
- build-artifacts

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

test-lint:
docker:
- image: circleci/node:10
Expand Down

0 comments on commit 44d8cd2

Please sign in to comment.