File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed
Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 2323 - run : npm run build
2424 - run : npm test
2525
26+ test-preset-node8 :
27+ docker :
28+ - image : circleci/node:10-browsers
29+ working_directory : ~/repo
30+ steps :
31+ - checkout
32+ - run : npm install
33+ - run : npm run build
34+ - run : npm test:preset
35+ test-preset-node10 :
36+ docker :
37+ - image : circleci/node:10-browsers
38+ working_directory : ~/repo
39+ steps :
40+ - checkout
41+ - run : npm install
42+ - run : npm run build
43+ - run : npm test:preset
44+
2645 publish-job :
2746 docker :
2847 - image : circleci/node:10
@@ -41,12 +60,17 @@ workflows:
4160 test :
4261 jobs :
4362 - test-job-8
63+ - test-preset-node8
4464 - test-job-10
65+ - test-preset-node10
66+
4567 - publish-job :
4668 filters :
4769 branches :
4870 only :
4971 - master
5072 requires :
5173 - test-job-8
74+ - test-preset-node8
5275 - test-job-10
76+ - test-preset-node10
Original file line number Diff line number Diff line change 55 "private" : true ,
66 "main" : " index.js" ,
77 "scripts" : {
8- "pretest" : " rimraf app" ,
9- "test" : " create-ts-lib app && cd app && npm run build && npm run test"
8+ "clean" : " rimraf app" ,
9+ "test" : " npm run clean && create-ts-lib app && cd app && npm run build && npm run test" ,
10+ "test:preset" : " npm run clean && create-ts-lib --preset server app && cd app && npm run build && ls -l ./dist"
1011 },
1112 "dependencies" : {
1213 "create-ts-lib" : " ^0.4.0" ,
1617 "author" : " " ,
1718 "license" : " ISC" ,
1819 "devDependencies" : {
19- "create-ts-lib" : " 0.4.0"
20+ "create-ts-lib" : " ^ 0.4.0"
2021 }
2122}
You can’t perform that action at this time.
0 commit comments