forked from code4romania/seismic-risc
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 838 Bytes
/
codeql-analysis-js.yml
File metadata and controls
40 lines (34 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "JS CodeQL analysis"
on:
push:
branches: [develop, main]
pull_request:
branches: [develop]
paths:
- 'client/**.js'
- 'client/package*.json'
- 'client/Dockerfile'
- 'docker-compose.yml'
- '.github/workflows/client_pipeline.yml'
- '.github/workflows/code-analysis-js.yml'
schedule:
- cron: '0 7 * * 2'
jobs:
analyze_js:
name: Analyze code
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2