Skip to content

Commit 87c7757

Browse files
committed
chore(ci): Add code scanning & fix dependabot failures
1 parent fc0d1a2 commit 87c7757

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.github/workflows/ci.yml

+31-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717

1818
name: Node CI
1919

20-
on: [push, pull_request]
20+
on:
21+
push:
22+
branches-ignore:
23+
- 'dependabot/**'
24+
pull_request:
25+
branches:
26+
- '*'
2127

2228
jobs:
2329
darwin:
@@ -41,13 +47,25 @@ jobs:
4147
node --version
4248
npm --version
4349
50+
- uses: github/codeql-action/init@v3
51+
with:
52+
languages: javascript
53+
queries: security-and-quality
54+
config: |
55+
paths-ignore:
56+
- coverage
57+
- node_modules
58+
- templates/project/www/cordova.js
59+
4460
- name: npm install and test
4561
run: |
4662
npm i -g ios-deploy
4763
npm cit
4864
env:
4965
CI: true
5066

67+
- uses: github/codeql-action/analyze@v3
68+
5169
- uses: codecov/codecov-action@v4
5270
if: success()
5371
with:
@@ -76,6 +94,16 @@ jobs:
7694
node --version
7795
npm --version
7896
97+
- uses: github/codeql-action/init@v3
98+
with:
99+
languages: javascript
100+
queries: security-and-quality
101+
config: |
102+
paths-ignore:
103+
- coverage
104+
- node_modules
105+
- templates/project/www/cordova.js
106+
79107
- name: npm install and test
80108
run: |
81109
npm ci
@@ -84,6 +112,8 @@ jobs:
84112
env:
85113
CI: true
86114

115+
- uses: github/codeql-action/analyze@v3
116+
87117
- uses: codecov/codecov-action@v4
88118
if: success()
89119
with:

.github/workflows/release-audit.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717

1818
name: Release Auditing
1919

20-
on: [push, pull_request]
20+
on:
21+
push:
22+
branches-ignore:
23+
- 'dependabot/**'
24+
pull_request:
25+
branches:
26+
- '*'
2127

2228
jobs:
2329
test:

0 commit comments

Comments
 (0)