Merge pull request #291 from jmarolf/dev/jmarolf/enable-codeql
enable codeql
This commit is contained in:
Коммит
4352a9fb0b
|
@ -1,8 +1,16 @@
|
|||
jobs:
|
||||
- job: DotnetExtensionPackCI
|
||||
timeoutInMinutes: 5
|
||||
timeoutInMinutes: 30
|
||||
cancelTimeoutInMinutes: 2
|
||||
|
||||
variables:
|
||||
# Force CodeQL enabled so it may be run on any branch
|
||||
- name: Codeql.Enabled
|
||||
value: true
|
||||
# Do not let CodeQL 3000 Extension gate scan frequency
|
||||
- name: Codeql.Cadence
|
||||
value: 0
|
||||
- name: Codeql.TSAEnabled
|
||||
value: true
|
||||
pool:
|
||||
vmImage: 'windows-2022'
|
||||
|
||||
|
@ -11,6 +19,10 @@ jobs:
|
|||
inputs:
|
||||
versionSpec: '14.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- task: UseDotNet@2
|
||||
- task: CodeQL3000Init@0
|
||||
displayName: CodeQL Initialize
|
||||
|
||||
- script: |
|
||||
npm ci
|
||||
|
@ -23,6 +35,9 @@ jobs:
|
|||
echo Building .NET extension pack vsix...
|
||||
npx vsce@latest package
|
||||
|
||||
- task: CodeQL3000Finalize@0
|
||||
displayName: CodeQL Finalize
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
Contents: '*.vsix'
|
||||
|
|
Загрузка…
Ссылка в новой задаче