Skip to content

Commit 0754107

Browse files
committed
Fix Circle config.
1 parent c7abc99 commit 0754107

1 file changed

Lines changed: 49 additions & 49 deletions

File tree

.circleci/config.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,53 @@ workflows:
22
version: 2
33
build-and-deploy:
44
jobs:
5-
build:
6-
docker:
7-
- image: circleci/node:7.10
8-
filters:
9-
tags:
10-
only: /.*/
11-
working_directory: ~/repo
12-
steps:
13-
- checkout
14-
- restore_cache:
15-
keys:
16-
- v1-dependencies-{{ checksum "package.json" }}
17-
- v1-dependencies-
18-
- run: npm install
19-
- save_cache:
20-
paths:
21-
- node_modules
22-
key: v1-dependencies-{{ checksum "package.json" }}
23-
- run: npm run lint
24-
- run: npm run type-check
25-
- run:
26-
name: Jest Suite
27-
command: npm test -- --ci --testResultsProcessor="jest-junit"
28-
environment:
29-
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
30-
- store_test_results:
31-
path: reports
32-
deploy:
33-
requires:
34-
- build
35-
filters:
36-
tags:
37-
only: /^v.*/
38-
branches:
39-
ignore: /.*/
40-
docker:
41-
- image: circleci/node:7.10
42-
steps:
43-
- checkout
44-
- restore_cache:
45-
keys:
46-
- v1-dependencies-{{ checksum "package.json" }}
47-
- v1-dependencies-
48-
- run: npm install
49-
- save_cache:
50-
paths:
51-
- node_modules
52-
key: v1-dependencies-{{ checksum "package.json" }}
53-
- run: npm publish
5+
- build:
6+
docker:
7+
- image: circleci/node:7.10
8+
filters:
9+
tags:
10+
only: /.*/
11+
working_directory: ~/repo
12+
steps:
13+
- checkout
14+
- restore_cache:
15+
keys:
16+
- v1-dependencies-{{ checksum "package.json" }}
17+
- v1-dependencies-
18+
- run: npm install
19+
- save_cache:
20+
paths:
21+
- node_modules
22+
key: v1-dependencies-{{ checksum "package.json" }}
23+
- run: npm run lint
24+
- run: npm run type-check
25+
- run:
26+
name: Jest Suite
27+
command: npm test -- --ci --testResultsProcessor="jest-junit"
28+
environment:
29+
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
30+
- store_test_results:
31+
path: reports
32+
- deploy:
33+
requires:
34+
- build
35+
filters:
36+
tags:
37+
only: /^v.*/
38+
branches:
39+
ignore: /.*/
40+
docker:
41+
- image: circleci/node:7.10
42+
steps:
43+
- checkout
44+
- restore_cache:
45+
keys:
46+
- v1-dependencies-{{ checksum "package.json" }}
47+
- v1-dependencies-
48+
- run: npm install
49+
- save_cache:
50+
paths:
51+
- node_modules
52+
key: v1-dependencies-{{ checksum "package.json" }}
53+
- run: npm publish
5454

0 commit comments

Comments
 (0)