Skip to content

codeql

codeql #197

Workflow file for this run

name: "codeql"
on:
schedule:
- cron: '0 4 * * 1'
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'typescript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-extended
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci --ignore-scripts
- run: npm run build --workspaces --if-present
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3