1 | version: 2
|
2 | jobs:
|
3 | build:
|
4 | docker:
|
5 | - image: circleci/node:8.10.0
|
6 | steps:
|
7 | - checkout
|
8 | - run:
|
9 | name: npm install
|
10 | command: npm install
|
11 | - run:
|
12 | name: npm run build
|
13 | command: npm run build
|
14 | - run:
|
15 | name: run tests
|
16 | command: npm test
|
17 | - run:
|
18 | name: release
|
19 | command: npm run semantic-release || true
|