Skip to content

CodeQL

CodeQL #170

name: CodeQL
on:
schedule:
- cron: '0 15 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Use Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Deps
run: |
npm ci
- name: Build
run: |
npm run build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3