Skip to content

Commit

Permalink
Configure CI (no. 86)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Apr 23, 2021
1 parent 7c543d8 commit 289c9bb
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
workspace:
clean: all
steps:
# - task: Cache@2
# inputs:
# key: '"npm" | "$(Agent.OS)" | src/DotVVM.Framework/package.json'
# path: $(DOTVVM_ROOT)/.npm
# restoreKeys: '"npm" | "$(Agent.OS)"'
- task: Cache@2
inputs:
key: '"npm" | "$(Agent.OS)" | src/DotVVM.Framework/package.json'
path: $(DOTVVM_ROOT)/.npm
restoreKeys: '"npm" | "$(Agent.OS)"'
- script: npm ci --cache $(DOTVVM_ROOT)/.npm --prefer-offline
workingDirectory: src/DotVVM.Framework
- script: npm run build
workingDirectory: src/DotVVM.Framework
# - task: Cache@2
# inputs:
# key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
# path: $(DOTVVM_ROOT)/.nuget
- task: Cache@2
inputs:
key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
path: $(DOTVVM_ROOT)/.nuget
- task: DotNetCoreCLI@2
inputs:
command: restore
Expand All @@ -55,17 +55,15 @@ jobs:
workspace:
clean: all
steps:
- script: ls -al $(DOTVVM_ROOT)/artifacts
# - task: DownloadPipelineArtifact@2
# inputs:
# source: current
# artifact: crossplatformBuild
# path: $(DOTVVM_ROOT)/artifacts/
# - script: ls -al $(DOTVVM_ROOT)/artifacts
# - task: Cache@2
# inputs:
# key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
# path: $(DOTVVM_ROOT)/.nuget
- task: DownloadPipelineArtifact@2
inputs:
source: current
artifact: crossplatformBuild
path: $(DOTVVM_ROOT)/artifacts
- task: Cache@2
inputs:
key: '"nuget" | "$(Agent.OS)" | **/packages.lock.json'
path: $(DOTVVM_ROOT)/.nuget
- task: DotNetCoreCLI@2
inputs:
command: test
Expand Down

0 comments on commit 289c9bb

Please sign in to comment.