Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Jul 28, 2023
2 parents 694eabb + 5b3bc2f commit 56d63f5
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,38 @@ pool:

jobs:

- job: NPMCache

steps:
- checkout: self
- checkout: EmptyRepo
persistCredentials: true
clean: true

- task: NodeTool@0
inputs:
versionSpec: "14.x"
displayName: "Install Node.js"

- task: CopyFiles@2
inputs:
SourceFolder: "$(Build.SourcesDirectory)/survey-library/"
Contents: "package.json"
TargetFolder: "$(Build.SourcesDirectory)/Temp/"
OverWrite: true
displayName: "Copy package.json for cache key"

- task: Cache@2
inputs:
key: 'npm-cache-library | $(Build.SourcesDirectory)/Temp/package.json'
path: $(Build.SourcesDirectory)/survey-library/node_modules
cacheHitVar: NPM_CACHE_RESTORED
displayName: Cache NPM


- job: CoreAngularJquery
dependsOn:
- NPMCache

steps:
- checkout: self
Expand Down Expand Up @@ -138,6 +169,9 @@ jobs:


- job: Knockout
dependsOn:
- NPMCache

steps:
- checkout: self
- checkout: EmptyRepo
Expand Down Expand Up @@ -244,6 +278,8 @@ jobs:


- job: React
dependsOn:
- NPMCache

steps:
- checkout: self
Expand Down Expand Up @@ -345,6 +381,8 @@ jobs:


- job: Vue
dependsOn:
- NPMCache

steps:
- checkout: self
Expand Down Expand Up @@ -445,6 +483,9 @@ jobs:
publishLocation: "Container"

- job: Angular
dependsOn:
- NPMCache

steps:
- checkout: self
- checkout: EmptyRepo
Expand Down Expand Up @@ -560,6 +601,9 @@ jobs:
publishLocation: "Container"

- job: Vue3
dependsOn:
- NPMCache

steps:
- checkout: self
- checkout: EmptyRepo
Expand Down

0 comments on commit 56d63f5

Please sign in to comment.