File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 132
132
133
133
packages /ghostscript /ghostpdl
134
134
out /
135
+
136
+ .emsdk /
Original file line number Diff line number Diff line change 11
11
merge_group :
12
12
types : [checks_requested]
13
13
14
+ env :
15
+ NODE_VERSION : 20
16
+ EM_VERSION : 3.1.63
17
+
14
18
jobs :
15
19
analyze :
16
20
runs-on : ubuntu-latest
@@ -20,14 +24,19 @@ jobs:
20
24
contents : read
21
25
security-events : write
22
26
27
+ strategy :
28
+ fail-fast : false
29
+ matrix :
30
+ language : ['javascript-typescript', 'c-cpp']
31
+
23
32
steps :
24
33
- name : Git Checkout
25
34
uses : actions/checkout@v4
26
35
27
36
- name : Initialize CodeQL
28
37
uses : github/codeql-action/init@v3
29
38
with :
30
- languages : javascript
39
+ languages : ${{ matrix.language }}
31
40
32
41
- name : Autobuild
33
42
uses : github/codeql-action/autobuild@v3
@@ -44,19 +53,19 @@ jobs:
44
53
with :
45
54
submodules : " recursive"
46
55
47
- - name : Use EMSDK
56
+ - name : Use EMSDK ${{ env.EM_VERSION }}
48
57
uses : mymindstorm/setup-emsdk@v14
49
58
with :
50
- version : 3.1.63
51
- actions-cache-folder : ' emsdk-cache '
59
+ version : ${{ env.EM_VERSION }}
60
+ actions-cache-folder : ' . emsdk'
52
61
53
62
- name : Use Corepack
54
63
run : corepack enable
55
64
56
- - name : Use Node.js 20
65
+ - name : Use Node.js ${{ env.NODE_VERSION }}
57
66
uses : actions/setup-node@v4
58
67
with :
59
- node-version : 20
68
+ node-version : ${{ env.NODE_VERSION }}
60
69
cache : " yarn"
61
70
62
71
- name : Install Deps
67
76
68
77
- name : Run Linter
69
78
run : yarn lint
79
+
80
+ - name : Run Test
81
+ run : yarn test
You can’t perform that action at this time.
0 commit comments