File tree 6 files changed +20401
-2
lines changed
6 files changed +20401
-2
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+ name : ' MacOS Build'
3
+
4
+ # Controls when the action will run.
5
+ on :
6
+ # Triggers the workflow on push or pull request events but only for the master branch
7
+ push :
8
+ branches :
9
+ - master
10
+ - github-actions
11
+ pull_request :
12
+ branches :
13
+ - master
14
+
15
+ # Allows you to run this workflow manually from the Actions tab
16
+ workflow_dispatch :
17
+
18
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
19
+ jobs :
20
+ build :
21
+ strategy :
22
+ matrix :
23
+ node-version : [10.13.0, 12.x, 14.x, 15.x]
24
+
25
+ # The type of runner that the job will run on
26
+ runs-on : macos-latest
27
+
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+
31
+ - name : Cache node modules
32
+ uses : actions/cache@v2
33
+ env :
34
+ cache-name : cache-node-modules
35
+ with :
36
+ # npm cache files are stored in `~/.npm` on Linux/macOS
37
+ path : ~/.npm
38
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-build-${{ env.cache-name }}-
41
+ ${{ runner.os }}-build-
42
+ ${{ runner.os }}-
43
+
44
+ - name : Use Node.js ${{ matrix.node-version }}
45
+ uses : actions/setup-node@v1
46
+ with :
47
+ node-version : ${{ matrix.node-version }}
48
+ - name : Install Dependencies
49
+ run : npm i
50
+ - name : Check lint
51
+ run : npm run lint
52
+ - name : Build the app
53
+ run : npm run electron:build
Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+ name : ' Linux Build'
3
+
4
+ # Controls when the action will run.
5
+ on :
6
+ # Triggers the workflow on push or pull request events but only for the master branch
7
+ push :
8
+ branches :
9
+ - master
10
+ - github-actions
11
+ pull_request :
12
+ branches :
13
+ - master
14
+
15
+ # Allows you to run this workflow manually from the Actions tab
16
+ workflow_dispatch :
17
+
18
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
19
+ jobs :
20
+ build :
21
+ strategy :
22
+ matrix :
23
+ node-version : [10.13.0, 12.x, 14.x, 15.x]
24
+
25
+ # The type of runner that the job will run on
26
+ runs-on : ubuntu-latest
27
+
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+
31
+ - name : Cache node modules
32
+ uses : actions/cache@v2
33
+ env :
34
+ cache-name : cache-node-modules
35
+ with :
36
+ # npm cache files are stored in `~/.npm` on Linux/macOS
37
+ path : ~/.npm
38
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-build-${{ env.cache-name }}-
41
+ ${{ runner.os }}-build-
42
+ ${{ runner.os }}-
43
+
44
+ - name : Use Node.js ${{ matrix.node-version }}
45
+ uses : actions/setup-node@v1
46
+ with :
47
+ node-version : ${{ matrix.node-version }}
48
+
49
+ - name : Install Dependencies
50
+ run : npm i
51
+
52
+ - name : Check lint
53
+ run : npm run lint
54
+
55
+ - name : Build the app
56
+ run : npm run electron:build
57
+
58
+ - name : Run headless unit test
59
+ uses : GabrielBB/xvfb-action@v1
60
+ with :
61
+ run : npm test
62
+
63
+ - name : Run headless unit test
64
+ uses : GabrielBB/xvfb-action@v1
65
+ with :
66
+ run : npm run e2e
Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+ name : ' Windows Build'
3
+
4
+ # Controls when the action will run.
5
+ on :
6
+ # Triggers the workflow on push or pull request events but only for the master branch
7
+ push :
8
+ branches :
9
+ - master
10
+ - github-actions
11
+ pull_request :
12
+ branches :
13
+ - master
14
+
15
+ # Allows you to run this workflow manually from the Actions tab
16
+ workflow_dispatch :
17
+
18
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
19
+ jobs :
20
+ build :
21
+ strategy :
22
+ matrix :
23
+ node-version : [10.13.0, 12.x, 14.x, 15.x]
24
+
25
+ # The type of runner that the job will run on
26
+ runs-on : windows-latest
27
+
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+
31
+ - name : Cache node modules
32
+ uses : actions/cache@v2
33
+ env :
34
+ cache-name : cache-node-modules
35
+ with :
36
+ # npm cache files are stored in `~/.npm`
37
+ path : ~/.npm
38
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-build-${{ env.cache-name }}-
41
+ ${{ runner.os }}-build-
42
+ ${{ runner.os }}-
43
+
44
+ - name : Use Node.js ${{ matrix.node-version }}
45
+ uses : actions/setup-node@v1
46
+ with :
47
+ node-version : ${{ matrix.node-version }}
48
+ - name : Install Dependencies
49
+ run : npm i
50
+ - name : Check lint
51
+ run : npm run lint
52
+ - name : Build the app
53
+ run : npm run electron:build
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ src/**/*.js
38
38
npm-debug.log
39
39
testem.log
40
40
/typings
41
- package-lock.json
42
41
43
42
# e2e
44
43
/e2e /* .js
You can’t perform that action at this time.
0 commit comments