File tree 1 file changed +39
-0
lines changed
1 file changed +39
-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
+
7
+
8
+ jobs :
9
+ build :
10
+ docker :
11
+ # specify the version you desire here
12
+ - image : circleci/node:8
13
+
14
+ # Specify service dependencies here if necessary
15
+ # CircleCI maintains a library of pre-built images
16
+ # documented at https://circleci.com/docs/2.0/circleci-images/
17
+ # - image: circleci/mongo:3.4.4
18
+
19
+ working_directory : ~/repo
20
+
21
+ steps :
22
+ - checkout
23
+
24
+ # Download and cache dependencies
25
+ - restore_cache :
26
+ keys :
27
+ - v1-dependencies-{{ checksum "package.json" }}
28
+ # fallback to using the latest cache if no exact match is found
29
+ - v1-dependencies-
30
+
31
+ - run : npm install
32
+
33
+ - save_cache :
34
+ paths :
35
+ - node_modules
36
+ key : v1-dependencies-{{ checksum "package.json" }}
37
+
38
+ # run tests!
39
+ - run : npm test
You can’t perform that action at this time.
0 commit comments