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