Skip to content
Merged
Show file tree
Hide file tree
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
25 changes: 25 additions & 0 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ trigger:
branches:
include:
- main
pr:
branches:
include:
- main
paths:
include:
- package.json
- package-lock.json
- .azure-pipelines/ci.yml
- .azure-pipelines/npm-cfs.yml
- .azure-pipelines/npm-cfs-variables.yml
extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
parameters:
Expand All @@ -33,8 +44,22 @@ extends:
stages:
- stage: Build
jobs:
- job: CFSValidation
displayName: Validate dependencies from CFS
condition: eq(variables['Build.Reason'], 'PullRequest')
steps:
- checkout: self
fetchTags: false
- task: NodeTool@0
displayName: Use Node 20.x
inputs:
versionSpec: 20.x
- template: /.azure-pipelines/npm-cfs.yml@self
- script: npm ci --ignore-scripts --prefer-online --cache "$(Agent.TempDirectory)/npm-cache"
displayName: Validate npm dependencies from CFS
- job: Job_1
displayName: VSCode-Java-Debug-CI
condition: ne(variables['Build.Reason'], 'PullRequest')
templateContext:
outputs:
- output: pipelineArtifact
Expand Down
21 changes: 0 additions & 21 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,6 @@

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
allow:
- dependency-type: "production"
- dependency-type: "development"
update-types:
- "version-update:semver-minor"
- "version-update:semver-patch"
commit-message:
prefix: "chore(deps)"
prefix-development: "chore(dev-deps)"
# CI restores packages from the Central Feed Service, which withholds
# upstream versions until they are roughly a week old (measured at ~6.8
# days; both the packument entry and the tarball return 404 before then).
# Dependabot's built-in cooldown is only 3 days, so bumps otherwise land in
# a window where the feed 404s and the build fails. 10 days leaves margin
# in case the feed's ingestion lag drifts.
cooldown:
default-days: 10
- package-ecosystem: "github-actions"
directory: "/"
groups:
Expand Down
Loading