Skip to content

Commit 0714b1f

Browse files
Remove NPM tasks from azure pipelines config
1 parent 6289ac4 commit 0714b1f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

azure-pipelines.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: $(TeamProject)_$(Build.DefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
22

33
parameters:
4-
- name: cache_npm
5-
displayName: Cache NPM packages
6-
type: boolean
7-
default: true
84
- name: cache_nuget
95
displayName: Cache NuGet packages
106
type: boolean
@@ -23,7 +19,6 @@ stages:
2319
- stage: Build
2420
variables:
2521
NUGET_PACKAGES: $(Pipeline.Workspace)/.nuget/packages
26-
npm_config_cache: $(Pipeline.Workspace)/.npm_client
2722
jobs:
2823
- job: Build
2924
pool:
@@ -47,17 +42,6 @@ stages:
4742
inputs:
4843
useGlobalJson: true
4944

50-
# Cache and restore NPM packages
51-
- task: Cache@2
52-
condition: ${{ parameters.cache_npm }}
53-
displayName: Cache NPM packages
54-
inputs:
55-
key: 'npm | "$(Agent.OS)" | **/package-lock.json, !**/node_modules/**'
56-
restoreKeys: |
57-
npm | "$(Agent.OS)"
58-
npm
59-
path: $(npm_config_cache)
60-
6145
# Cache and restore NuGet packages
6246
- task: Cache@2
6347
condition: ${{ parameters.cache_nuget }}

0 commit comments

Comments
 (0)