File tree 2 files changed +11
-5
lines changed
src/app/core/services/electron
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 22
22
node-version : [12.x, 14.x, 15.x]
23
23
24
24
# The type of runner that the job will run on
25
- runs-on : ubuntu-latest
25
+ runs-on : ubuntu-18.04
26
26
27
27
steps :
28
28
- uses : actions/checkout@v2
@@ -44,13 +44,20 @@ jobs:
44
44
uses : actions/setup-node@v1
45
45
with :
46
46
node-version : ${{ matrix.node-version }}
47
-
48
47
- name : Install Dependencies
49
48
run : npm i
50
-
51
49
- name : Check lint
52
50
run : npm run lint
53
-
54
51
- name : Build the app
55
52
run : npm run electron:build
56
53
54
+ - name : Run headless unit test
55
+ uses : GabrielBB/xvfb-action@v1
56
+ with :
57
+ run : npm test
58
+
59
+ - name : Run headless e2e test
60
+ uses : GabrielBB/xvfb-action@v1
61
+ with :
62
+ run : npm run e2e
63
+
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ export class ElectronService {
34
34
// it must be declared in dependencies of both package.json (in root and app folders)
35
35
// If you want to use remote object in renderer process, please set enableRemoteModule to true in main.ts
36
36
this . remote = window . require ( '@electron/remote' ) ;
37
- console . log ( 'remote - globalShortcut' , this . remote . globalShortcut ) ;
38
37
}
39
38
}
40
39
}
You can’t perform that action at this time.
0 commit comments