Update codeql-analysis.yml/*

This commit is contained in:
ESCOBIDAL, INC. 2024-12-22 22:24:54 -06:00 committed by GitHub
parent cbb722410c
commit 5e858e5f1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,14 +9,15 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: "Code: SQL"
on:
on:
push:
branches: [ main ]
branches: (main)
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
|(main)|
schedule:
- cron: '28 9 * * 0'
@ -32,10 +33,10 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
language = en javascript
# Code SQL supports [ 'cpp', csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# (S) https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
@ -50,7 +51,7 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- run: npm ci
- run: npm cli
- run: npm run build
- run: rm -rf dist # We want code scanning to analyze lib instead (individual .js files)