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
tsv2013 committed Jul 24, 2024
1 parent 2b2d0f4 commit f80fa95
Showing 1 changed file with 46 additions and 48 deletions.
94 changes: 46 additions & 48 deletions devops-pull-requests-parallel-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ jobs:
npm run testcafe:ko
displayName: "run functional tests"
- job: React
steps:
- checkout: self
Expand Down Expand Up @@ -125,7 +124,6 @@ jobs:
npm run testcafe:react
displayName: "run functional tests"
- job: Vue
steps:
- checkout: self
Expand Down Expand Up @@ -307,52 +305,52 @@ jobs:
npm run testcafe:ci:vue3
displayName: "run functional tests"
- job: JqueryUI
steps:
- checkout: self
persistCredentials: true
clean: true

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

- task: CopyFiles@2
inputs:
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)/node_modules
cacheHitVar: NPM_CACHE_RESTORED
displayName: Cache NPM

- task: Npm@1
displayName: 'NPM install'
inputs:
command: install
verbose: false
workingDir: $(Build.SourcesDirectory)
condition: ne(variables.NPM_CACHE_RESTORED, 'true')

- script: |
npm run build_core
npm run build_i18n
npm run build-plugins
displayName: "Build Core"
- script: |
npm run build_jquery_ui_prod
displayName: "Build jquery-ui"
- script: |
npm run testcafe:jquery-ui:ci
displayName: "run functional tests"
# - job: JqueryUI
# steps:
# - checkout: self
# persistCredentials: true
# clean: true

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

# - task: CopyFiles@2
# inputs:
# 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)/node_modules
# cacheHitVar: NPM_CACHE_RESTORED
# displayName: Cache NPM

# - task: Npm@1
# displayName: 'NPM install'
# inputs:
# command: install
# verbose: false
# workingDir: $(Build.SourcesDirectory)
# condition: ne(variables.NPM_CACHE_RESTORED, 'true')

# - script: |
# npm run build_core
# npm run build_i18n
# npm run build-plugins
# displayName: "Build Core"

# - script: |
# npm run build_jquery_ui_prod
# displayName: "Build jquery-ui"

# - script: |
# npm run testcafe:jquery-ui:ci
# displayName: "run functional tests"

- job: SurveyUI
steps:
Expand Down

0 comments on commit f80fa95

Please sign in to comment.