Skip to content

Commit 74880ab

Browse files
Fix circle.yml (#62)
1 parent 291fb82 commit 74880ab

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

circle.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
version: 2.1
22

33
workflows:
4+
version: 2.1
45
main:
56
jobs:
6-
- Lint
7-
- Test ESLint 4
8-
- Test ESLint 5
9-
- Test ESLint 6
10-
- NPM Release
7+
- lint
8+
- test-v4
9+
- test-v5
10+
- test-v6
11+
- release:
12+
requires:
13+
- lint
14+
- test-v4
15+
- test-v5
16+
- test-v6
17+
filters:
18+
branches:
19+
only:
20+
- master
1121

1222
jobs:
1323
lint:
14-
name: Lint
1524
docker:
1625
- image: circleci/node:8
1726
steps:
@@ -24,7 +33,6 @@ jobs:
2433
command: npm run lint
2534

2635
test-v4:
27-
name: Test ESLint 4
2836
docker:
2937
- image: circleci/node:8
3038
steps:
@@ -37,7 +45,6 @@ jobs:
3745
command: npm run test:v4
3846

3947
test-v5:
40-
name: Test ESLint 5
4148
docker:
4249
- image: circleci/node:8
4350
steps:
@@ -50,7 +57,6 @@ jobs:
5057
command: npm run test
5158

5259
test-v6:
53-
name: Test ESLint 6
5460
docker:
5561
- image: circleci/node:8
5662
steps:
@@ -62,19 +68,11 @@ jobs:
6268
name: Test ESLint 6
6369
command: npm run test:v6
6470

65-
npm-release:
66-
name: NPM Release
67-
filters:
68-
branches:
69-
only:
70-
- master
71-
requires:
72-
- lint
73-
- test-v4
74-
- test-v5
75-
- test-v6
71+
release:
72+
docker:
73+
- image: circleci/node:8
7674
steps:
7775
- checkout
7876
- run:
79-
name: Run semantic release
80-
command: npm run semantic-release
77+
name: Run semantic release
78+
command: npm run semantic-release

0 commit comments

Comments
 (0)