Skip to content

Commit b19bb09

Browse files
committed
chore(common): CHECKOUT-4954 Add CircleCI config
1 parent 201651b commit b19bb09

File tree

2 files changed

+44
-12
lines changed

2 files changed

+44
-12
lines changed

.circleci/config.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
aliases:
2+
- &node_executor
3+
executor:
4+
name: node/node
5+
node-version: "10"
6+
7+
version: 2.1
8+
9+
orbs:
10+
ci: bigcommerce/internal@volatile
11+
node: bigcommerce/internal-node@volatile
12+
13+
jobs:
14+
test:
15+
<<: *node_executor
16+
steps:
17+
- ci/pre-setup
18+
- node/npm-install
19+
- run:
20+
name: "Run unit tests"
21+
command: npm run test:series -- --coverage
22+
- store_artifacts:
23+
path: coverage
24+
destination: coverage
25+
26+
build:
27+
<<: *node_executor
28+
steps:
29+
- ci/pre-setup
30+
- node/npm-install
31+
- run:
32+
name: "Run linter"
33+
command: npm run lint
34+
- run:
35+
name: "Build files"
36+
command: npm run build
37+
38+
workflows:
39+
version: 2
40+
build:
41+
jobs:
42+
- ci/validate-commits
43+
- test
44+
- build

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)