File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1313 - uses : actions/setup-node@v1
1414 with :
1515 node-version : 12.x
16+ - uses : actions/cache@v1
17+ with :
18+ path : node_modules
19+ key : nodeModules-${{ hashFiles('**/yarn.lock') }}
20+ restore-keys : |
21+ nodeModules-
1622 - name : Update Version Number
1723 run : |
1824 old_str="X.Y.Z"
2127 sed -i "s/$old_str/$new_str/g" ./github_app_for_splunk/default/app.conf
2228 cat package.json
2329 cat ./github_app_for_splunk/default/app.conf
30+ - name : Install dependencies
31+ run : yarn install
32+ env :
33+ CI : true
2434 - name : Build app package
2535 run : |
2636 yarn package
Original file line number Diff line number Diff line change 88 " Doug Erkkila <derkkila@splunk.com> (https://www.splunk.com)" ,
99 " Bassem Dghaidi <stump@example.com> (https://www.github.com)"
1010 ],
11- "private" : true ,
11+ "private" : false ,
1212 "splunk" : {
1313 "appName" : " github_app_for_splunk" ,
1414 "appSource" : " github_app_for_splunk"
2929 "package" : " slap package --prod" ,
3030 "pkg" : " yarn package" ,
3131 "rebuild" : " echo \" Rebuilding...\" && slap stage --skip-clean" ,
32- "start2" : " yarn build && onchange src/** -- slap stage"
32+ "start2" : " yarn build && onchange src/** -- slap stage" ,
33+ "test2" : " python -m unittest discover -s src/app/bin -p '*_tests.py' -v" ,
34+ "test:watch" : " onchange src/app/bin/** -- yarn test"
35+ },
36+ "dependencies" : {
37+ "@splunk/react-page" : " ^3.0.0" ,
38+ "@splunk/react-toast-notifications" : " ^0.7.0" ,
39+ "@splunk/react-ui" : " ^2" ,
40+ "react" : " ^16" ,
41+ "react-dom" : " ^16" ,
42+ "styled-components" : " ^4"
3343 },
3444 "devDependencies" : {
3545 "lerna" : " ^2.9.0" ,
You can’t perform that action at this time.
0 commit comments