Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions azure-pipelines-static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

# Run this job every night at midnight on the main branch
schedules:
- cron: "0 0 * * *"
displayName: Nightly static analysis build
branches:
include:
- main

# Semmle task only works on Windows
pool:
vmImage: 'windows-latest'

variables:
# Upload static analysis snapshot to LGTM
LGTM.UploadSnapshot: true

jobs:
- job: static
displayName: 'Static Analysis (CodeQL & LGTM)'
steps:
- task: Semmle@0
env:
SYSTEM_ACCESSTOKEN: $(LGTM_READ_TOKEN)
inputs:
toolVersion: 'LatestPreRelease'
sourceCodeDirectory: '$(Build.SourcesDirectory)\Composer'
language: 'tsandjs'
includeNodeModules: true
querySuite: 'Recommended'
timeout: '1800'
ram: '16384'
addProjectDirToScanningExclusionList: true