File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
docs/latest/.github/workflows Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Electron Docs Compile
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ container :
7
+ required : true
8
+ description : ' Container to run the docs-only ts compile in'
9
+ type : string
10
+
11
+ concurrency :
12
+ group : electron-docs-only-${{ github.ref }}
13
+ cancel-in-progress : true
14
+
15
+ jobs :
16
+ docs-only :
17
+ name : Docs Only Compile
18
+ runs-on : aks-linux-medium
19
+ timeout-minutes : 20
20
+ container : ${{ fromJSON(inputs.container) }}
21
+ steps :
22
+ - name : Checkout Electron
23
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
24
+ with :
25
+ path : src/electron
26
+ fetch-depth : 0
27
+ - name : Install Dependencies
28
+ run : |
29
+ cd src/electron
30
+ node script/yarn install --frozen-lockfile
31
+ - name : Run TS/JS compile
32
+ shell : bash
33
+ run : |
34
+ cd src/electron
35
+ node script/yarn create-typescript-definitions
36
+ node script/yarn tsc -p tsconfig.default_app.json --noEmit
37
+ for f in build/webpack/*.js
38
+ do
39
+ out="${f:29}"
40
+ if [ "$out" != "base.js" ]; then
41
+ node script/yarn webpack --config $f --output-filename=$out --output-path=./.tmp --env mode=development
42
+ fi
43
+ done
You can’t perform that action at this time.
0 commit comments