Skip to content

Commit b9cef32

Browse files
committed
broke pipeline
fixing
1 parent 349fdfe commit b9cef32

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/appinspect_api.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
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"
@@ -21,6 +27,10 @@ jobs:
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

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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"
@@ -29,7 +29,17 @@
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",

0 commit comments

Comments
 (0)