Skip to content

Commit

Permalink
Update devops-pull-requests-parallel-jobs.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Jun 11, 2024
1 parent 717ca01 commit 54edf1f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions devops-pull-requests-parallel-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,15 +316,15 @@ jobs:

- task: CopyFiles@2
inputs:
SourceFolder: "$(Build.SourcesDirectory)/survey-library/"
SourceFolder: "$(Build.SourcesDirectory)/"
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
path: $(Build.SourcesDirectory)/node_modules
cacheHitVar: NPM_CACHE_RESTORED
displayName: Cache NPM

Expand Down Expand Up @@ -358,11 +358,11 @@ jobs:
inputs:
command: install
verbose: false
workingDir: $(Build.SourcesDirectory)/survey-library
workingDir: $(Build.SourcesDirectory)
condition: ne(variables.NPM_CACHE_RESTORED, 'true')

- script: |
cd $(Build.SourcesDirectory)/survey-library
cd $(Build.SourcesDirectory)
npm run release -- --release-as $(SurveyJSVersion)
git status
displayName: "npm run release"
Expand All @@ -378,7 +378,6 @@ jobs:
displayName: "Build jquery-ui"
- script: |
cd $(Build.SourcesDirectory)/survey-library
npm run testcafe:jquery-ui:ci
displayName: "run functional tests"

0 comments on commit 54edf1f

Please sign in to comment.