Skip to content

Commit 29bf39f

Browse files
ci: Add CodeQL analysis (#3700)
1 parent 52bcc32 commit 29bf39f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,25 @@ jobs:
154154
- name: Run Tests with coverage
155155
run: npm run testonly:cover
156156

157+
codeql:
158+
name: Run CodeQL security scan
159+
runs-on: ubuntu-latest
160+
permissions:
161+
security-events: write
162+
steps:
163+
- name: Checkout repo
164+
uses: actions/checkout@v3
165+
with:
166+
persist-credentials: false
167+
168+
- name: Initialize CodeQL
169+
uses: github/codeql-action/init@v2
170+
with:
171+
languages: 'javascript, typescript'
172+
173+
- name: Perform CodeQL analysis
174+
uses: github/codeql-action/analyze@v2
175+
157176
build-npm-dist:
158177
name: Build 'npmDist' artifact
159178
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)