Skip to content

Commit 8f1a114

Browse files
committed
Fix CodeQL for TS
1 parent 5ca8841 commit 8f1a114

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ on:
3030
jobs:
3131
analyze:
3232
name: Analyze
33+
# Runner size impacts CodeQL analysis time. To learn more, please see:
34+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
35+
# - https://gh.io/supported-runners-and-hardware-resources
36+
# - https://gh.io/using-larger-runners
37+
# Consider using larger runners for possible analysis time improvements.
3338
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
3439
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
3540
permissions:
@@ -40,10 +45,10 @@ jobs:
4045
strategy:
4146
fail-fast: false
4247
matrix:
43-
language: ['javascript']
44-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
45-
# Use only 'java' to analyze code written in Java, Kotlin or both
46-
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
48+
language: ['javascript-typescript']
49+
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
50+
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
51+
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
4752
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4853

4954
steps:

0 commit comments

Comments
 (0)