Skip to content

Commit 76b2207

Browse files
committed
update circle to v2 and add linting and testing
1 parent e029d27 commit 76b2207

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

circle.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
1-
machine:
2-
node:
3-
# need Node 8 for latest semantic release
4-
version: 8
5-
test:
6-
override:
7-
- npm run semantic-release || true
1+
version: 2
2+
3+
workflows:
4+
version: 2
5+
tests:
6+
jobs:
7+
- test
8+
9+
jobs:
10+
test:
11+
docker:
12+
- image: circleci/node:8
13+
steps:
14+
- checkout
15+
- run:
16+
name: Install dependencies
17+
command: npm install
18+
- run:
19+
name: Lint code
20+
command: npm run lint
21+
- run:
22+
name: Run tests
23+
command: npm test
24+
- run:
25+
name: Semantic release
26+
command: npm run semantic-release || true

0 commit comments

Comments
 (0)