Skip to content

Commit 0b154ec

Browse files
committed
changed directory paths in integration-tests.yml, and moved github actions folder to top level directory
1 parent 8257bf2 commit 0b154ec

File tree

8 files changed

+13
-54
lines changed

8 files changed

+13
-54
lines changed

ksqljs/.github/workflows/integration-tests.yml renamed to .github/workflows/integration-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ jobs:
3030
- uses: actions/checkout@v3
3131

3232
- name: Start Containers
33-
run: docker-compose -f "docker-compose.yml" up -d --build
33+
run: docker-compose -f "/ksqljs/docker-compose.yml" up -d --build
3434

3535
- name: Install node
3636
uses: actions/setup-node@v1
3737
with:
3838
node-version: 16.x
3939

4040
- name: Install dependencies
41-
run: npm install
41+
run: npm install --prefix "/ksqljs"
4242

4343
- name: Sleep for 30 seconds
4444
run: sleep 30s
4545
shell: bash
4646

4747
- name: Run tests
48-
run: npm run test
48+
run: npm run test --prefix "/ksqljs"
4949

5050
- name: Stop containers
5151
if: always()
52-
run: docker-compose -f "docker-compose.yml" down
52+
run: docker-compose -f "/ksqljs/docker-compose.yml" down

ksqLight/public/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ require("@electron/remote/main").initialize();
44

55
function createWindow () {
66
const win = new BrowserWindow({
7-
width: 800,
8-
height: 600,
7+
width: 1600,
8+
height: 1000,
99
webPreferences: {
1010
enableRemoteModule: true,
1111
}

ksqLight/src/App.css

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,6 @@
22
text-align: center;
33
}
44

5-
.App-logo {
6-
height: 40vmin;
7-
pointer-events: none;
8-
}
9-
10-
@media (prefers-reduced-motion: no-preference) {
11-
.App-logo {
12-
animation: App-logo-spin infinite 20s linear;
13-
}
14-
}
15-
165
.App-header {
176
background-color: #282c34;
187
min-height: 100vh;
@@ -24,15 +13,6 @@
2413
color: white;
2514
}
2615

27-
.App-link {
16+
.github-link {
2817
color: #61dafb;
29-
}
30-
31-
@keyframes App-logo-spin {
32-
from {
33-
transform: rotate(0deg);
34-
}
35-
to {
36-
transform: rotate(360deg);
37-
}
38-
}
18+
}

ksqLight/src/App.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
import logo from './logo.svg';
1+
22
import './App.css';
33

44
function App() {
55
return (
66
<div className="App">
77
<header className="App-header">
8-
<img src={logo} className="App-logo" alt="logo" />
98
<p>
109
Edit <code>src/App.js</code> and save to reload.
1110
</p>
1211
<a
13-
className="App-link"
14-
href="https://reactjs.org"
12+
className="github-link"
13+
href="https://github.com/oslabs-beta/ksqljs/"
1514
target="_blank"
1615
rel="noopener noreferrer"
1716
>
18-
Learn React
17+
Check our Github!
1918
</a>
2019
</header>
2120
</div>

ksqLight/src/index.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@ import React from 'react';
22
import ReactDOM from 'react-dom/client';
33
import './index.css';
44
import App from './App';
5-
import reportWebVitals from './reportWebVitals';
65

76
const root = ReactDOM.createRoot(document.getElementById('root'));
87
root.render(
98
<React.StrictMode>
109
<App />
1110
</React.StrictMode>
12-
);
13-
14-
// If you want to start measuring performance in your app, pass a function
15-
// to log results (for example: reportWebVitals(console.log))
16-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17-
reportWebVitals();
11+
);

ksqLight/src/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

ksqLight/src/reportWebVitals.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)