File tree Expand file tree Collapse file tree 11 files changed +163
-7437
lines changed
Expand file tree Collapse file tree 11 files changed +163
-7437
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:10.19
11+
12+ working_directory : ~/nova-react-bridge
13+
14+ steps :
15+ - checkout
16+
17+ # Download and cache dependencies
18+ - restore_cache :
19+ keys :
20+ - v1-dependencies-{{ checksum "package.json" }}
21+ # fallback to using the latest cache if no exact match is found
22+ - v1-dependencies-
23+
24+ - run : yarn install
25+
26+ - save_cache :
27+ paths :
28+ - node_modules
29+ key : v1-dependencies-{{ checksum "package.json" }}
30+
31+ # run linter
32+ - run : yarn lint
33+
34+ # run tests
35+ - run : yarn test
36+
37+ publish :
38+ docker :
39+ # specify the version you desire here
40+ - image : circleci/node:10.19
41+
42+ working_directory : ~/nova-react-bridge
43+
44+ steps :
45+ - checkout
46+
47+ # Download and cache dependencies
48+ - restore_cache :
49+ keys :
50+ - v1-dependencies-{{ checksum "package.json" }}
51+ # fallback to using the latest cache if no exact match is found
52+ - v1-dependencies-
53+
54+ - run : yarn install
55+
56+ - run : yarn build
57+
58+ - save_cache :
59+ paths :
60+ - node_modules
61+ key : v1-dependencies-{{ checksum "package.json" }}
62+
63+ # run linter
64+ - run : yarn semantic-release
65+
66+ workflows :
67+ version : 2
68+ main :
69+ jobs :
70+ - build
71+ - publish :
72+ requires :
73+ - build
74+ filters :
75+ branches :
76+ only : master
Original file line number Diff line number Diff line change 11{
2+ "env": {
3+ "jest": true,
4+ "browser": true
5+ },
26 "extends": "airbnb"
37}
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ node_modules
22yarn.lock
33yarn-error.log
44lib
5- package-lock.lock
5+ package-lock.json
Original file line number Diff line number Diff line change 1- node_modules
1+ node_modules
2+ ** /* .spec.js
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ setupFiles : [
3+ './setupTests.js' ,
4+ ] ,
5+ } ;
You can’t perform that action at this time.
0 commit comments