File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Javascript Node CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-javascript/ for more details
4
+ #
5
+ version : 2
6
+ jobs :
7
+ build :
8
+ docker :
9
+ # specify the version you desire here
10
+ - image : circleci/node:7.10
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # - image: circleci/mongo:3.4.4
16
+
17
+ steps :
18
+ - checkout
19
+
20
+ # Download and cache dependencies
21
+ - restore_cache :
22
+ keys :
23
+ - dependencies-{{ checksum "package-lock.json" }}
24
+ # fallback to using the latest cache if no exact match is found
25
+ - dependencies-
26
+
27
+ - run : npm i
28
+
29
+ - save_cache :
30
+ paths :
31
+ - node_modules
32
+ key : dependencies-{{ checksum "package-lock.json" }}
33
+
34
+ # run tests!
35
+ - run : npm run test
You can’t perform that action at this time.
0 commit comments