-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (33 loc) · 984 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: 2
jobs:
build:
docker:
- image: circleci/node:6.11.3-browsers
parallelism: 2
steps:
- checkout
- run:
name: Install System Dependencies
command: sudo apt-get install libxss1 libappindicator3-1 libindicator7
- run:
name: Install Chrome
command: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i ./google-chrome*.deb
sudo apt-get install -f
- restore_cache:
key: npm-deps-{{ checksum "package-lock.json" }}
- run:
name: Install Package Dependencies
command: npm install
- run:
name: Run The Tests!
command: npm test
- save_cache:
key: npm-deps-{{ checksum "package-lock.json" }}
paths:
- "node_modules"
- store_test_results:
path: test-results
- store_artifacts:
path: test-results