We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ab91d commit a54ed29Copy full SHA for a54ed29
2 files changed
.circleci/config.yml
@@ -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
26
+ name: Run lint
27
+ command: npm run lint
28
29
+ name: Run tests
30
+ command: npm run test
31
32
+workflows:
33
+ test_and_lint:
34
+ jobs:
35
+ - test
circle.yml
0 commit comments