Skip to content

CodeQL

CodeQL #1377

name: "CodeQL"
on:
push:
pull_request:
schedule:
- cron: '20 17 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Use Node.js 14
uses: actions/setup-node@main
with:
node-version: v14.x
- name: Install Dependencies
run: |
cd functions/
sudo npm i -g npm
npm ci
- name: Initialize CodeQL
uses: github/codeql-action/init@main
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@main
with:
category: "/language:${{matrix.language}}"