|
@@ -9,7 +9,9 @@ on:
|
|
jobs:
|
|
jobs:
|
|
lint:
|
|
lint:
|
|
name: Lint Code
|
|
name: Lint Code
|
|
|
|
+
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
+
|
|
strategy:
|
|
strategy:
|
|
matrix:
|
|
matrix:
|
|
node-version: [22.x]
|
|
node-version: [22.x]
|
|
@@ -26,20 +28,30 @@ jobs:
|
|
|
|
|
|
analyze:
|
|
analyze:
|
|
name: Analyze Code
|
|
name: Analyze Code
|
|
|
|
+
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
+
|
|
permissions:
|
|
permissions:
|
|
actions: read
|
|
actions: read
|
|
contents: read
|
|
contents: read
|
|
security-events: write
|
|
security-events: write
|
|
|
|
+
|
|
strategy:
|
|
strategy:
|
|
matrix:
|
|
matrix:
|
|
- language: ["javascript"]
|
|
|
|
|
|
+ language: ["javascript-typescript"]
|
|
|
|
+ # CodeQL supports "c-cpp", "csharp", "go", "java-kotlin", "javascript-typescript", "python", "ruby", "swift"
|
|
|
|
+ # 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
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
|
|
+ with:
|
|
|
|
+ submodules: recursive
|
|
|
|
+
|
|
- name: Initialize CodeQL
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
languages: ${{ matrix.language }}
|
|
|
|
+
|
|
- name: Perform CodeQL Analysis
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3
|
|
uses: github/codeql-action/analyze@v3
|