Skip to content

Commit a54ed29

Browse files
Fixed CircleCI.
1 parent a1ab91d commit a54ed29

2 files changed

Lines changed: 35 additions & 9 deletions

File tree

.circleci/config.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 2.1
2+
3+
jobs:
4+
test:
5+
docker:
6+
- image: circleci/node:12.9.1-browsers
7+
8+
working_directory: ~/repo
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
keys:
13+
- v1-dependencies-{{checksum "package.json"}}
14+
- v1-dependencies-
15+
- run:
16+
name: install packages
17+
command: npm install
18+
19+
- save_cache:
20+
key: v1-dependencies-{{checksum "package.json"}}
21+
paths:
22+
- node_modules
23+
- ~/.npm
24+
- ~/.cache
25+
- run:
26+
name: Run lint
27+
command: npm run lint
28+
- run:
29+
name: Run tests
30+
command: npm run test
31+
32+
workflows:
33+
test_and_lint:
34+
jobs:
35+
- test

circle.yml

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

0 commit comments

Comments
 (0)