Skip to content

JS CodeQL analysis

JS CodeQL analysis #10

name: "JS CodeQL analysis"
on:
push:
branches: [develop, main]
pull_request:
branches: [develop]
paths:
- 'client/**.js'
- 'client/package*.json'
- 'docker/dockerfiles/Dockerfile.frontend*'
- '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