Skip to content

Commit 64f6c81

Browse files
committed
Update circle ci configuration
1 parent ef4ae43 commit 64f6c81

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.circleci/config.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,20 @@ jobs:
4545
path: coverage
4646
destination: coverage
4747

48+
build:
49+
<<: *defaults
50+
steps:
51+
- restore_cache:
52+
key: repository-{{ .Environment.CIRCLE_SHA1 }}
53+
- restore_cache:
54+
key: dependency-{{ .Branch }}-{{ checksum "yarn.lock" }}
55+
- run:
56+
name: Build
57+
command: yarn build
58+
4859
workflows:
4960
version: 2
50-
checkout-and-dependency-test:
61+
checkout-and-dependency-test-build:
5162
jobs:
5263
- checkout:
5364
filters:
@@ -65,3 +76,9 @@ workflows:
6576
filters:
6677
tags:
6778
only: /.*/
79+
- build:
80+
requires:
81+
- test
82+
filters:
83+
tags:
84+
only: /.*/

0 commit comments

Comments
 (0)