Skip to content

Commit e183a2a

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

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

.github/workflows/ci.yml

+29-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,24 @@ 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+
4459
- name: npm install and test
4560
run: |
4661
npm i -g ios-deploy
4762
npm cit
4863
env:
4964
CI: true
5065

66+
- uses: github/codeql-action/analyze@v3
67+
5168
- uses: codecov/codecov-action@v4
5269
if: success()
5370
with:
@@ -76,6 +93,15 @@ jobs:
7693
node --version
7794
npm --version
7895
96+
- uses: github/codeql-action/init@v3
97+
with:
98+
languages: javascript
99+
queries: security-and-quality
100+
config: |
101+
paths-ignore:
102+
- coverage
103+
- node_modules
104+
79105
- name: npm install and test
80106
run: |
81107
npm ci
@@ -84,6 +110,8 @@ jobs:
84110
env:
85111
CI: true
86112

113+
- uses: github/codeql-action/analyze@v3
114+
87115
- uses: codecov/codecov-action@v4
88116
if: success()
89117
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)