Skip to content

Commit 0c15e9a

Browse files
authored
chore: update circle config.yml to 2.0 (#182)
1 parent 5663660 commit 0c15e9a

File tree

2 files changed

+30
-34
lines changed

2 files changed

+30
-34
lines changed

Diff for: .circleci/config.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: 2
2+
jobs:
3+
test-node:
4+
docker:
5+
- image: circleci/node:6.14-stretch
6+
steps:
7+
- checkout
8+
- run: "yarn install"
9+
- run: "yarn lint:ci"
10+
- run: "yarn build"
11+
- run: "yarn test:node -- --maxWorkers=4"
12+
test-web:
13+
docker:
14+
- image: circleci/node:6.14-stretch
15+
steps:
16+
- checkout
17+
- run: "yarn install"
18+
# For some reason phantomjs-prebuild is failing w/yarn, but npm installing works
19+
- run: "npm install phantomjs-prebuilt"
20+
# Switch to 7 and lint
21+
- run: "yarn test:web -- --maxWorkers=4"
22+
- run: "yarn build:web -- --maxWorkers=4"
23+
24+
25+
workflows:
26+
version: 2
27+
build_and_test:
28+
jobs:
29+
- test-node
30+
- test-web

Diff for: circle.yml

-34
This file was deleted.

0 commit comments

Comments
 (0)