File tree 1 file changed +20
-2
lines changed
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 17
17
18
18
name : Node CI
19
19
20
- on : [push, pull_request]
20
+ on :
21
+ push :
22
+ branches-ignore :
23
+ - ' dependabot/*'
24
+ pull_request :
25
+ branches :
26
+ - ' *'
21
27
22
28
jobs :
23
29
test :
24
30
name : NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
25
31
runs-on : ${{ matrix.os }}
26
32
strategy :
27
33
matrix :
28
- node-version : [16.x, 18.x, 20.x]
34
+ node-version : [16.x, 18.x, 20.x, 22.x ]
29
35
os : [ubuntu-latest, windows-latest, macos-latest]
30
36
31
37
steps :
@@ -41,11 +47,23 @@ jobs:
41
47
node --version
42
48
npm --version
43
49
50
+ - uses : github/codeql-action/init@v3
51
+ with :
52
+ languages : javascript
53
+ queries : security-and-quality
54
+ config : |
55
+ paths-ignore:
56
+ - pkg
57
+ - coverage
58
+ - node_modules
59
+
44
60
- name : npm install and test
45
61
run : npm cit
46
62
env :
47
63
CI : true
48
64
65
+ - uses : github/codeql-action/analyze@v3
66
+
49
67
- uses : codecov/codecov-action@v4
50
68
if : success()
51
69
with :
You can’t perform that action at this time.
0 commit comments