File tree 1 file changed +52
-0
lines changed
1 file changed +52
-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:8.11.3-browsers
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
+ working_directory : ~/repo
18
+
19
+ environment :
20
+ CHROME_BIN : " chromium-browser"
21
+
22
+ steps :
23
+ - checkout
24
+
25
+ # Download and cache dependencies
26
+ - restore_cache :
27
+ keys :
28
+ - v1-dependencies-{{ checksum "package.json" }}
29
+ # fallback to using the latest cache if no exact match is found
30
+ - v1-dependencies-
31
+ - run : ls -la && pwd
32
+ - run : git --version
33
+ - run : npm install
34
+ - run : npm install --only=dev
35
+ - run : npm run build
36
+ - run : ls -la && pwd
37
+
38
+ - save_cache :
39
+ paths :
40
+ - node_modules
41
+ key : v1-dependencies-{{ checksum "package.json" }}
42
+
43
+ - persist_to_workspace :
44
+ root : .
45
+ paths :
46
+ - dist
47
+ # run tests!
48
+ # - run: npm test
49
+
50
+
51
+
52
+
You can’t perform that action at this time.
0 commit comments